Struct ql2::proto::Datum [] [src]

pub struct Datum {
    // some fields omitted
}

Methods

impl Datum
[src]

fn new() -> Datum

fn default_instance() -> &'static Datum

fn clear_field_type(&mut self)

fn has_field_type(&self) -> bool

fn set_field_type(&mut self, v: Datum_DatumType)

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

fn clear_r_bool(&mut self)

fn has_r_bool(&self) -> bool

fn set_r_bool(&mut self, v: bool)

fn get_r_bool<'a>(&self) -> bool

fn clear_r_num(&mut self)

fn has_r_num(&self) -> bool

fn set_r_num(&mut self, v: f64)

fn get_r_num<'a>(&self) -> f64

fn clear_r_str(&mut self)

fn has_r_str(&self) -> bool

fn set_r_str(&mut self, v: String)

fn mut_r_str<'a>(&'a mut self) -> &'a mut String

fn take_r_str(&mut self) -> String

fn get_r_str<'a>(&'a self) -> &'a str

fn clear_r_array(&mut self)

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

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

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

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

fn clear_r_object(&mut self)

fn set_r_object(&mut self, v: RepeatedField<Datum_AssocPair>)

fn mut_r_object<'a>(&'a mut self) -> &'a mut RepeatedField<Datum_AssocPair>

fn take_r_object(&mut self) -> RepeatedField<Datum_AssocPair>

fn get_r_object<'a>(&'a self) -> &'a [Datum_AssocPair]

Trait Implementations

impl Default for Datum
[src]

fn default() -> Datum

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

impl Clone for Datum
[src]

fn clone(&self) -> Datum

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 Datum
[src]

impl Message for Datum
[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 Datum
[src]

fn new() -> Datum

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

impl Clear for Datum
[src]

fn clear(&mut self)

impl PartialEq for Datum
[src]

fn eq(&self, other: &Datum) -> 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 Datum
[src]

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

Formats the value using the given formatter.