[][src]Struct tensorflow_serving_client::cost_graph::CostGraphDef_AggregatedCost

pub struct CostGraphDef_AggregatedCost {
    pub cost: f32,
    pub dimension: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

cost: f32dimension: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl CostGraphDef_AggregatedCost[src]

pub fn new() -> CostGraphDef_AggregatedCost[src]

pub fn get_cost(&self) -> f32[src]

pub fn clear_cost(&mut self)[src]

pub fn set_cost(&mut self, v: f32)[src]

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

pub fn clear_dimension(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for CostGraphDef_AggregatedCost[src]

impl Clone for CostGraphDef_AggregatedCost[src]

impl Debug for CostGraphDef_AggregatedCost[src]

impl Default for CostGraphDef_AggregatedCost[src]

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

impl Message for CostGraphDef_AggregatedCost[src]

impl PartialEq<CostGraphDef_AggregatedCost> for CostGraphDef_AggregatedCost[src]

impl ProtobufValue for CostGraphDef_AggregatedCost[src]

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