[][src]Struct tensorflow_serving_client::status::StatusProto

pub struct StatusProto {
    pub error_code: Code,
    pub error_message: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

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

Fields

error_code: Codeerror_message: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl StatusProto[src]

pub fn new() -> StatusProto[src]

pub fn get_error_code(&self) -> Code[src]

pub fn clear_error_code(&mut self)[src]

pub fn set_error_code(&mut self, v: Code)[src]

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

pub fn clear_error_message(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for StatusProto[src]

impl Clone for StatusProto[src]

impl Debug for StatusProto[src]

impl Default for StatusProto[src]

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

impl Message for StatusProto[src]

impl PartialEq<StatusProto> for StatusProto[src]

impl ProtobufValue for StatusProto[src]

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