[][src]Struct tensorflow_serving_client::op_def::OpDef

pub struct OpDef {
    pub name: String,
    pub input_arg: RepeatedField<OpDef_ArgDef>,
    pub output_arg: RepeatedField<OpDef_ArgDef>,
    pub control_output: RepeatedField<String>,
    pub attr: RepeatedField<OpDef_AttrDef>,
    pub deprecation: SingularPtrField<OpDeprecation>,
    pub summary: String,
    pub description: String,
    pub is_commutative: bool,
    pub is_aggregate: bool,
    pub is_stateful: bool,
    pub allows_uninitialized_input: bool,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

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

Fields

name: Stringinput_arg: RepeatedField<OpDef_ArgDef>output_arg: RepeatedField<OpDef_ArgDef>control_output: RepeatedField<String>attr: RepeatedField<OpDef_AttrDef>deprecation: SingularPtrField<OpDeprecation>summary: Stringdescription: Stringis_commutative: boolis_aggregate: boolis_stateful: boolallows_uninitialized_input: boolunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl OpDef[src]

pub fn new() -> OpDef[src]

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

pub fn clear_name(&mut self)[src]

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

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

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

pub fn get_input_arg(&self) -> &[OpDef_ArgDef][src]

pub fn clear_input_arg(&mut self)[src]

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

pub fn mut_input_arg(&mut self) -> &mut RepeatedField<OpDef_ArgDef>[src]

pub fn take_input_arg(&mut self) -> RepeatedField<OpDef_ArgDef>[src]

pub fn get_output_arg(&self) -> &[OpDef_ArgDef][src]

pub fn clear_output_arg(&mut self)[src]

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

pub fn mut_output_arg(&mut self) -> &mut RepeatedField<OpDef_ArgDef>[src]

pub fn take_output_arg(&mut self) -> RepeatedField<OpDef_ArgDef>[src]

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

pub fn clear_control_output(&mut self)[src]

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

pub fn mut_control_output(&mut self) -> &mut RepeatedField<String>[src]

pub fn take_control_output(&mut self) -> RepeatedField<String>[src]

pub fn get_attr(&self) -> &[OpDef_AttrDef][src]

pub fn clear_attr(&mut self)[src]

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

pub fn mut_attr(&mut self) -> &mut RepeatedField<OpDef_AttrDef>[src]

pub fn take_attr(&mut self) -> RepeatedField<OpDef_AttrDef>[src]

pub fn get_deprecation(&self) -> &OpDeprecation[src]

pub fn clear_deprecation(&mut self)[src]

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

pub fn set_deprecation(&mut self, v: OpDeprecation)[src]

pub fn mut_deprecation(&mut self) -> &mut OpDeprecation[src]

pub fn take_deprecation(&mut self) -> OpDeprecation[src]

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

pub fn clear_summary(&mut self)[src]

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

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

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

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

pub fn clear_description(&mut self)[src]

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

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

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

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

pub fn clear_is_commutative(&mut self)[src]

pub fn set_is_commutative(&mut self, v: bool)[src]

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

pub fn clear_is_aggregate(&mut self)[src]

pub fn set_is_aggregate(&mut self, v: bool)[src]

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

pub fn clear_is_stateful(&mut self)[src]

pub fn set_is_stateful(&mut self, v: bool)[src]

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

pub fn clear_allows_uninitialized_input(&mut self)[src]

pub fn set_allows_uninitialized_input(&mut self, v: bool)[src]

Trait Implementations

impl Clear for OpDef[src]

impl Clone for OpDef[src]

impl Debug for OpDef[src]

impl Default for OpDef[src]

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

impl Message for OpDef[src]

impl PartialEq<OpDef> for OpDef[src]

impl ProtobufValue for OpDef[src]

impl StructuralPartialEq for OpDef[src]

Auto Trait Implementations

impl RefUnwindSafe for OpDef

impl Send for OpDef

impl Sync for OpDef

impl Unpin for OpDef

impl UnwindSafe for OpDef

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.