[][src]Struct protobuf::well_known_types::Struct

pub struct Struct {
    pub fields: HashMap<String, Value>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

fields: HashMap<String, Value>unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl Struct[src]

pub fn new() -> Struct[src]

pub fn get_fields(&self) -> &HashMap<String, Value>[src]

pub fn clear_fields(&mut self)[src]

pub fn set_fields(&mut self, v: HashMap<String, Value>)[src]

pub fn mut_fields(&mut self) -> &mut HashMap<String, Value>[src]

pub fn take_fields(&mut self) -> HashMap<String, Value>[src]

Trait Implementations

impl Clear for Struct[src]

impl Message for Struct[src]

impl ProtobufValue for Struct[src]

impl Default for Struct[src]

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

impl Clone for Struct[src]

impl PartialEq<Struct> for Struct[src]

impl Debug for Struct[src]

impl Serialize for Struct[src]

impl<'de> Deserialize<'de> for Struct[src]

Auto Trait Implementations

impl Send for Struct

impl Unpin for Struct

impl Sync for Struct

impl UnwindSafe for Struct

impl RefUnwindSafe for Struct

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]