[][src]Struct tensorflow_serving_client::input::ExampleListWithContext

pub struct ExampleListWithContext {
    pub examples: RepeatedField<Example>,
    pub context: SingularPtrField<Example>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

examples: RepeatedField<Example>context: SingularPtrField<Example>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ExampleListWithContext[src]

pub fn new() -> ExampleListWithContext[src]

pub fn get_examples(&self) -> &[Example][src]

pub fn clear_examples(&mut self)[src]

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

pub fn mut_examples(&mut self) -> &mut RepeatedField<Example>[src]

pub fn take_examples(&mut self) -> RepeatedField<Example>[src]

pub fn get_context(&self) -> &Example[src]

pub fn clear_context(&mut self)[src]

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

pub fn set_context(&mut self, v: Example)[src]

pub fn mut_context(&mut self) -> &mut Example[src]

pub fn take_context(&mut self) -> Example[src]

Trait Implementations

impl Clear for ExampleListWithContext[src]

impl Clone for ExampleListWithContext[src]

impl Debug for ExampleListWithContext[src]

impl Default for ExampleListWithContext[src]

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

impl Message for ExampleListWithContext[src]

impl PartialEq<ExampleListWithContext> for ExampleListWithContext[src]

impl ProtobufValue for ExampleListWithContext[src]

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