Struct osmpbfreader::osmformat::Relation
[−]
[src]
pub struct Relation { /* fields omitted */ }
Methods
impl Relation
[src]
fn new() -> Relation
fn default_instance() -> &'static Relation
fn clear_id(&mut self)
fn has_id(&self) -> bool
fn set_id(&mut self, v: i64)
fn get_id(&self) -> i64
fn clear_keys(&mut self)
fn set_keys(&mut self, v: Vec<u32>)
fn mut_keys(&mut self) -> &mut Vec<u32>
fn take_keys(&mut self) -> Vec<u32>
fn get_keys(&self) -> &[u32]
fn clear_vals(&mut self)
fn set_vals(&mut self, v: Vec<u32>)
fn mut_vals(&mut self) -> &mut Vec<u32>
fn take_vals(&mut self) -> Vec<u32>
fn get_vals(&self) -> &[u32]
fn clear_info(&mut self)
fn has_info(&self) -> bool
fn set_info(&mut self, v: Info)
fn mut_info(&mut self) -> &mut Info
fn take_info(&mut self) -> Info
fn get_info(&self) -> &Info
fn clear_roles_sid(&mut self)
fn set_roles_sid(&mut self, v: Vec<i32>)
fn mut_roles_sid(&mut self) -> &mut Vec<i32>
fn take_roles_sid(&mut self) -> Vec<i32>
fn get_roles_sid(&self) -> &[i32]
fn clear_memids(&mut self)
fn set_memids(&mut self, v: Vec<i64>)
fn mut_memids(&mut self) -> &mut Vec<i64>
fn take_memids(&mut self) -> Vec<i64>
fn get_memids(&self) -> &[i64]
fn clear_types(&mut self)
fn set_types(&mut self, v: Vec<Relation_MemberType>)
fn mut_types(&mut self) -> &mut Vec<Relation_MemberType>
fn take_types(&mut self) -> Vec<Relation_MemberType>
fn get_types(&self) -> &[Relation_MemberType]
Trait Implementations
impl PartialEq for Relation
[src]
fn eq(&self, __arg_0: &Relation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Relation) -> bool
This method tests for !=
.
impl Clone for Relation
[src]
fn clone(&self) -> Relation
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 Default for Relation
[src]
impl Debug for Relation
[src]
impl Sync for Relation
[src]
impl Message for Relation
[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<()>
os: &mut CodedOutputStream)
-> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
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>
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>
w: &mut Write)
-> Result<(), ProtobufError>