[][src]Struct tensorflow_serving_client::op_def::OpDeprecation

pub struct OpDeprecation {
    pub version: i32,
    pub explanation: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

version: i32explanation: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl OpDeprecation[src]

pub fn new() -> OpDeprecation[src]

pub fn get_version(&self) -> i32[src]

pub fn clear_version(&mut self)[src]

pub fn set_version(&mut self, v: i32)[src]

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

pub fn clear_explanation(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for OpDeprecation[src]

impl Clone for OpDeprecation[src]

impl Debug for OpDeprecation[src]

impl Default for OpDeprecation[src]

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

impl Message for OpDeprecation[src]

impl PartialEq<OpDeprecation> for OpDeprecation[src]

impl ProtobufValue for OpDeprecation[src]

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