[][src]Struct tensorflow_serving_client::meta_graph::SignatureDef

pub struct SignatureDef {
    pub inputs: HashMap<String, TensorInfo>,
    pub outputs: HashMap<String, TensorInfo>,
    pub method_name: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

inputs: HashMap<String, TensorInfo>outputs: HashMap<String, TensorInfo>method_name: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SignatureDef[src]

pub fn new() -> SignatureDef[src]

pub fn get_inputs(&self) -> &HashMap<String, TensorInfo>[src]

pub fn clear_inputs(&mut self)[src]

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

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

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

pub fn get_outputs(&self) -> &HashMap<String, TensorInfo>[src]

pub fn clear_outputs(&mut self)[src]

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

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

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

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

pub fn clear_method_name(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for SignatureDef[src]

impl Clone for SignatureDef[src]

impl Debug for SignatureDef[src]

impl Default for SignatureDef[src]

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

impl Message for SignatureDef[src]

impl PartialEq<SignatureDef> for SignatureDef[src]

impl ProtobufValue for SignatureDef[src]

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