[][src]Struct tensorflow_serving_client::step_stats::DeviceStepStats

pub struct DeviceStepStats {
    pub device: String,
    pub node_stats: RepeatedField<NodeExecStats>,
    pub thread_names: HashMap<u32, String>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

device: Stringnode_stats: RepeatedField<NodeExecStats>thread_names: HashMap<u32, String>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl DeviceStepStats[src]

pub fn new() -> DeviceStepStats[src]

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

pub fn clear_device(&mut self)[src]

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

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

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

pub fn get_node_stats(&self) -> &[NodeExecStats][src]

pub fn clear_node_stats(&mut self)[src]

pub fn set_node_stats(&mut self, v: RepeatedField<NodeExecStats>)[src]

pub fn mut_node_stats(&mut self) -> &mut RepeatedField<NodeExecStats>[src]

pub fn take_node_stats(&mut self) -> RepeatedField<NodeExecStats>[src]

pub fn get_thread_names(&self) -> &HashMap<u32, String>[src]

pub fn clear_thread_names(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for DeviceStepStats[src]

impl Clone for DeviceStepStats[src]

impl Debug for DeviceStepStats[src]

impl Default for DeviceStepStats[src]

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

impl Message for DeviceStepStats[src]

impl PartialEq<DeviceStepStats> for DeviceStepStats[src]

impl ProtobufValue for DeviceStepStats[src]

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