Struct ql2::proto::Query [] [src]

pub struct Query {
    // some fields omitted
}

Methods

impl Query
[src]

fn new() -> Query

fn default_instance() -> &'static Query

fn clear_field_type(&mut self)

fn has_field_type(&self) -> bool

fn set_field_type(&mut self, v: Query_QueryType)

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

fn clear_query(&mut self)

fn has_query(&self) -> bool

fn set_query(&mut self, v: Term)

fn mut_query<'a>(&'a mut self) -> &'a mut Term

fn take_query(&mut self) -> Term

fn get_query<'a>(&'a self) -> &'a Term

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_OBSOLETE_noreply(&mut self)

fn has_OBSOLETE_noreply(&self) -> bool

fn set_OBSOLETE_noreply(&mut self, v: bool)

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

fn clear_accepts_r_json(&mut self)

fn has_accepts_r_json(&self) -> bool

fn set_accepts_r_json(&mut self, v: bool)

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

fn clear_global_optargs(&mut self)

fn set_global_optargs(&mut self, v: RepeatedField<Query_AssocPair>)

fn mut_global_optargs<'a>(&'a mut self) -> &'a mut RepeatedField<Query_AssocPair>

fn take_global_optargs(&mut self) -> RepeatedField<Query_AssocPair>

fn get_global_optargs<'a>(&'a self) -> &'a [Query_AssocPair]

Trait Implementations

impl Default for Query
[src]

fn default() -> Query

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

impl Clone for Query
[src]

fn clone(&self) -> Query

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

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

fn new() -> Query

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

impl Clear for Query
[src]

fn clear(&mut self)

impl PartialEq for Query
[src]

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

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

Formats the value using the given formatter.