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

pub struct Struct {
    pub fields: HashMap<String, Value>,
    // some fields omitted
}

Fields

fields: HashMap<String, Value>

Methods

impl Struct[src]

pub fn new() -> Struct[src]

pub fn default_instance() -> &'static Struct[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]

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

Trait Implementations

impl Message for Struct[src]

impl MessageStatic for Struct[src]

impl Clear for Struct[src]

impl ProtobufValue for Struct[src]

impl Default for Struct[src]

impl Sync for Struct[src]

impl Clone for Struct[src]

impl PartialEq<Struct> for Struct[src]

impl Debug for Struct[src]

Auto Trait Implementations

impl Send for Struct

impl Unpin 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]