[][src]Struct tensorflow_serving_client::step_stats::AllocationRecord

pub struct AllocationRecord {
    pub alloc_micros: i64,
    pub alloc_bytes: i64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Generated files are compatible only with the same version of protobuf runtime.

Fields

alloc_micros: i64alloc_bytes: i64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl AllocationRecord[src]

pub fn new() -> AllocationRecord[src]

pub fn get_alloc_micros(&self) -> i64[src]

pub fn clear_alloc_micros(&mut self)[src]

pub fn set_alloc_micros(&mut self, v: i64)[src]

pub fn get_alloc_bytes(&self) -> i64[src]

pub fn clear_alloc_bytes(&mut self)[src]

pub fn set_alloc_bytes(&mut self, v: i64)[src]

Trait Implementations

impl Clear for AllocationRecord[src]

impl Clone for AllocationRecord[src]

impl Debug for AllocationRecord[src]

impl Default for AllocationRecord[src]

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

impl Message for AllocationRecord[src]

impl PartialEq<AllocationRecord> for AllocationRecord[src]

impl ProtobufValue for AllocationRecord[src]

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