[][src]Struct tensorflow_serving_client::allocation_description::AllocationDescription

pub struct AllocationDescription {
    pub requested_bytes: i64,
    pub allocated_bytes: i64,
    pub allocator_name: String,
    pub allocation_id: i64,
    pub has_single_reference: bool,
    pub ptr: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

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

Fields

requested_bytes: i64allocated_bytes: i64allocator_name: Stringallocation_id: i64has_single_reference: boolptr: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl AllocationDescription[src]

pub fn new() -> AllocationDescription[src]

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

pub fn clear_requested_bytes(&mut self)[src]

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

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

pub fn clear_allocated_bytes(&mut self)[src]

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

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

pub fn clear_allocator_name(&mut self)[src]

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

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

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

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

pub fn clear_allocation_id(&mut self)[src]

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

pub fn get_has_single_reference(&self) -> bool[src]

pub fn clear_has_single_reference(&mut self)[src]

pub fn set_has_single_reference(&mut self, v: bool)[src]

pub fn get_ptr(&self) -> u64[src]

pub fn clear_ptr(&mut self)[src]

pub fn set_ptr(&mut self, v: u64)[src]

Trait Implementations

impl Clear for AllocationDescription[src]

impl Clone for AllocationDescription[src]

impl Debug for AllocationDescription[src]

impl Default for AllocationDescription[src]

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

impl Message for AllocationDescription[src]

impl PartialEq<AllocationDescription> for AllocationDescription[src]

impl ProtobufValue for AllocationDescription[src]

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