[][src]Struct osmpbfreader::osmformat::Relation

pub struct Relation {
    pub keys: Vec<u32>,
    pub vals: Vec<u32>,
    pub info: SingularPtrField<Info>,
    pub roles_sid: Vec<i32>,
    pub memids: Vec<i64>,
    pub types: Vec<Relation_MemberType>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
    // some fields omitted
}

Fields

keys: Vec<u32>vals: Vec<u32>info: SingularPtrField<Info>roles_sid: Vec<i32>memids: Vec<i64>types: Vec<Relation_MemberType>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Relation[src]

pub fn new() -> Relation[src]

pub fn get_id(&self) -> i64[src]

pub fn clear_id(&mut self)[src]

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

pub fn set_id(&mut self, v: i64)[src]

pub fn get_keys(&self) -> &[u32][src]

pub fn clear_keys(&mut self)[src]

pub fn set_keys(&mut self, v: Vec<u32>)[src]

pub fn mut_keys(&mut self) -> &mut Vec<u32>[src]

pub fn take_keys(&mut self) -> Vec<u32>[src]

pub fn get_vals(&self) -> &[u32][src]

pub fn clear_vals(&mut self)[src]

pub fn set_vals(&mut self, v: Vec<u32>)[src]

pub fn mut_vals(&mut self) -> &mut Vec<u32>[src]

pub fn take_vals(&mut self) -> Vec<u32>[src]

pub fn get_info(&self) -> &Info[src]

pub fn clear_info(&mut self)[src]

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

pub fn set_info(&mut self, v: Info)[src]

pub fn mut_info(&mut self) -> &mut Info[src]

pub fn take_info(&mut self) -> Info[src]

pub fn get_roles_sid(&self) -> &[i32][src]

pub fn clear_roles_sid(&mut self)[src]

pub fn set_roles_sid(&mut self, v: Vec<i32>)[src]

pub fn mut_roles_sid(&mut self) -> &mut Vec<i32>[src]

pub fn take_roles_sid(&mut self) -> Vec<i32>[src]

pub fn get_memids(&self) -> &[i64][src]

pub fn clear_memids(&mut self)[src]

pub fn set_memids(&mut self, v: Vec<i64>)[src]

pub fn mut_memids(&mut self) -> &mut Vec<i64>[src]

pub fn take_memids(&mut self) -> Vec<i64>[src]

pub fn get_types(&self) -> &[Relation_MemberType][src]

pub fn clear_types(&mut self)[src]

pub fn set_types(&mut self, v: Vec<Relation_MemberType>)[src]

pub fn mut_types(&mut self) -> &mut Vec<Relation_MemberType>[src]

pub fn take_types(&mut self) -> Vec<Relation_MemberType>[src]

Trait Implementations

impl Clear for Relation[src]

impl Clone for Relation[src]

impl Debug for Relation[src]

impl Default for Relation[src]

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

impl Message for Relation[src]

impl PartialEq<Relation> for Relation[src]

impl ProtobufValue for Relation[src]

impl StructuralPartialEq for Relation[src]

Auto Trait Implementations

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.