Struct protobuf::plugin::CodeGeneratorResponse[][src]

pub struct CodeGeneratorResponse {
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl CodeGeneratorResponse[src]

pub fn new() -> CodeGeneratorResponse[src]

pub fn get_error(&self) -> &str[src]

pub fn clear_error(&mut self)[src]

pub fn has_error(&self) -> bool[src]

pub fn set_error(&mut self, v: String)[src]

pub fn mut_error(&mut self) -> &mut String[src]

pub fn take_error(&mut self) -> String[src]

pub fn get_file(&self) -> &[CodeGeneratorResponse_File]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

pub fn clear_file(&mut self)[src]

pub fn set_file(&mut self, v: RepeatedField<CodeGeneratorResponse_File>)[src]

pub fn mut_file(&mut self) -> &mut RepeatedField<CodeGeneratorResponse_File>[src]

pub fn take_file(&mut self) -> RepeatedField<CodeGeneratorResponse_File>[src]

Trait Implementations

impl Clear for CodeGeneratorResponse[src]

impl Clone for CodeGeneratorResponse[src]

impl Debug for CodeGeneratorResponse[src]

impl Default for CodeGeneratorResponse[src]

impl<'a> Default for &'a CodeGeneratorResponse[src]

impl Message for CodeGeneratorResponse[src]

impl PartialEq<CodeGeneratorResponse> for CodeGeneratorResponse[src]

impl ProtobufValue for CodeGeneratorResponse[src]

impl StructuralPartialEq for CodeGeneratorResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for CodeGeneratorResponse

impl Send for CodeGeneratorResponse

impl Sync for CodeGeneratorResponse

impl Unpin for CodeGeneratorResponse

impl UnwindSafe for CodeGeneratorResponse

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.