[][src]Struct tensorflow_serving_client::classification::Classifications

pub struct Classifications {
    pub classes: RepeatedField<Class>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

classes: RepeatedField<Class>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Classifications[src]

pub fn new() -> Classifications[src]

pub fn get_classes(&self) -> &[Class][src]

pub fn clear_classes(&mut self)[src]

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

pub fn mut_classes(&mut self) -> &mut RepeatedField<Class>[src]

pub fn take_classes(&mut self) -> RepeatedField<Class>[src]

Trait Implementations

impl Clear for Classifications[src]

impl Clone for Classifications[src]

impl Debug for Classifications[src]

impl Default for Classifications[src]

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

impl Message for Classifications[src]

impl PartialEq<Classifications> for Classifications[src]

impl ProtobufValue for Classifications[src]

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