[][src]Struct tensorflow_serving_client::classification::ClassificationResponse

pub struct ClassificationResponse {
    pub model_spec: SingularPtrField<ModelSpec>,
    pub result: SingularPtrField<ClassificationResult>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

model_spec: SingularPtrField<ModelSpec>result: SingularPtrField<ClassificationResult>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ClassificationResponse[src]

pub fn new() -> ClassificationResponse[src]

pub fn get_model_spec(&self) -> &ModelSpec[src]

pub fn clear_model_spec(&mut self)[src]

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

pub fn set_model_spec(&mut self, v: ModelSpec)[src]

pub fn mut_model_spec(&mut self) -> &mut ModelSpec[src]

pub fn take_model_spec(&mut self) -> ModelSpec[src]

pub fn get_result(&self) -> &ClassificationResult[src]

pub fn clear_result(&mut self)[src]

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

pub fn set_result(&mut self, v: ClassificationResult)[src]

pub fn mut_result(&mut self) -> &mut ClassificationResult[src]

pub fn take_result(&mut self) -> ClassificationResult[src]

Trait Implementations

impl Clear for ClassificationResponse[src]

impl Clone for ClassificationResponse[src]

impl Debug for ClassificationResponse[src]

impl Default for ClassificationResponse[src]

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

impl Message for ClassificationResponse[src]

impl PartialEq<ClassificationResponse> for ClassificationResponse[src]

impl ProtobufValue for ClassificationResponse[src]

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