[][src]Struct grpcio_proto::example::route_guide::Feature

pub struct Feature {
    pub name: String,
    pub location: SingularPtrField<Point>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

name: Stringlocation: SingularPtrField<Point>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Feature[src]

pub fn new() -> Feature[src]

pub fn get_name(&self) -> &str[src]

pub fn clear_name(&mut self)[src]

pub fn set_name(&mut self, v: String)[src]

pub fn mut_name(&mut self) -> &mut String[src]

pub fn take_name(&mut self) -> String[src]

pub fn get_location(&self) -> &Point[src]

pub fn clear_location(&mut self)[src]

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

pub fn set_location(&mut self, v: Point)[src]

pub fn mut_location(&mut self) -> &mut Point[src]

pub fn take_location(&mut self) -> Point[src]

Trait Implementations

impl Clear for Feature[src]

impl Clone for Feature[src]

impl Debug for Feature[src]

impl Default for Feature[src]

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

impl Message for Feature[src]

impl PartialEq<Feature> for Feature[src]

impl ProtobufValue for Feature[src]

impl StructuralPartialEq for Feature[src]

Auto Trait Implementations

impl RefUnwindSafe for Feature

impl Send for Feature

impl Sync for Feature

impl Unpin for Feature

impl UnwindSafe for Feature

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.