Struct ql2::proto::Response [] [src]

pub struct Response {
    // some fields omitted
}

Methods

impl Response
[src]

fn new() -> Response

fn default_instance() -> &'static Response

fn clear_field_type(&mut self)

fn has_field_type(&self) -> bool

fn set_field_type(&mut self, v: Response_ResponseType)

fn get_field_type<'a>(&self) -> Response_ResponseType

fn clear_error_type(&mut self)

fn has_error_type(&self) -> bool

fn set_error_type(&mut self, v: Response_ErrorType)

fn get_error_type<'a>(&self) -> Response_ErrorType

fn clear_notes(&mut self)

fn set_notes(&mut self, v: Vec<Response_ResponseNote>)

fn mut_notes<'a>(&'a mut self) -> &'a mut Vec<Response_ResponseNote>

fn take_notes(&mut self) -> Vec<Response_ResponseNote>

fn get_notes<'a>(&'a self) -> &'a [Response_ResponseNote]

fn clear_token(&mut self)

fn has_token(&self) -> bool

fn set_token(&mut self, v: i64)

fn get_token<'a>(&self) -> i64

fn clear_response(&mut self)

fn set_response(&mut self, v: RepeatedField<Datum>)

fn mut_response<'a>(&'a mut self) -> &'a mut RepeatedField<Datum>

fn take_response(&mut self) -> RepeatedField<Datum>

fn get_response<'a>(&'a self) -> &'a [Datum]

fn clear_backtrace(&mut self)

fn has_backtrace(&self) -> bool

fn set_backtrace(&mut self, v: Backtrace)

fn mut_backtrace<'a>(&'a mut self) -> &'a mut Backtrace

fn take_backtrace(&mut self) -> Backtrace

fn get_backtrace<'a>(&'a self) -> &'a Backtrace

fn clear_profile(&mut self)

fn has_profile(&self) -> bool

fn set_profile(&mut self, v: Datum)

fn mut_profile<'a>(&'a mut self) -> &'a mut Datum

fn take_profile(&mut self) -> Datum

fn get_profile<'a>(&'a self) -> &'a Datum

Trait Implementations

impl Default for Response
[src]

fn default() -> Response

Returns the "default value" for a type. Read more

impl Clone for Response
[src]

fn clone(&self) -> Response

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Sync for Response
[src]

impl Message for Response
[src]

fn is_initialized(&self) -> bool

fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>

fn compute_size(&self) -> u32

fn write_to_with_cached_sizes(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>

fn get_cached_size(&self) -> u32

fn get_unknown_fields<'s>(&'s self) -> &'s UnknownFields

fn mut_unknown_fields<'s>(&'s mut self) -> &'s mut UnknownFields

fn type_id(&self) -> TypeId

fn as_any(&self) -> &Any

fn descriptor(&self) -> &'static MessageDescriptor

fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>

fn write_length_delimited_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>

fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>

fn check_initialized(&self) -> Result<(), ProtobufError>

fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>

fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>

fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>

fn write_length_delimited_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>

fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>

impl MessageStatic for Response
[src]

fn new() -> Response

fn descriptor_static(_: Option<Response>) -> &'static MessageDescriptor

impl Clear for Response
[src]

fn clear(&mut self)

impl PartialEq for Response
[src]

fn eq(&self, other: &Response) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for Response
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.