[][src]Struct tensorflow_serving_client::attr_value::NameAttrList

pub struct NameAttrList {
    pub name: String,
    pub attr: HashMap<String, AttrValue>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

name: Stringattr: HashMap<String, AttrValue>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl NameAttrList[src]

pub fn new() -> NameAttrList[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_attr(&self) -> &HashMap<String, AttrValue>[src]

pub fn clear_attr(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for NameAttrList[src]

impl Clone for NameAttrList[src]

impl Debug for NameAttrList[src]

impl Default for NameAttrList[src]

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

impl Message for NameAttrList[src]

impl PartialEq<NameAttrList> for NameAttrList[src]

impl ProtobufValue for NameAttrList[src]

impl StructuralPartialEq for NameAttrList[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.