[−][src]Struct tensorflow_serving_client::attr_value::AttrValue
Generated files are compatible only with the same version of protobuf runtime.
Fields
value: Option<AttrValue_oneof_value>unknown_fields: UnknownFieldscached_size: CachedSizeImplementations
impl AttrValue[src]
pub fn new() -> AttrValue[src]
pub fn get_s(&self) -> &[u8][src]
pub fn clear_s(&mut self)[src]
pub fn has_s(&self) -> bool[src]
pub fn set_s(&mut self, v: Vec<u8>)[src]
pub fn mut_s(&mut self) -> &mut Vec<u8>[src]
pub fn take_s(&mut self) -> Vec<u8>[src]
pub fn get_i(&self) -> i64[src]
pub fn clear_i(&mut self)[src]
pub fn has_i(&self) -> bool[src]
pub fn set_i(&mut self, v: i64)[src]
pub fn get_f(&self) -> f32[src]
pub fn clear_f(&mut self)[src]
pub fn has_f(&self) -> bool[src]
pub fn set_f(&mut self, v: f32)[src]
pub fn get_b(&self) -> bool[src]
pub fn clear_b(&mut self)[src]
pub fn has_b(&self) -> bool[src]
pub fn set_b(&mut self, v: bool)[src]
pub fn get_field_type(&self) -> DataType[src]
pub fn clear_field_type(&mut self)[src]
pub fn has_field_type(&self) -> bool[src]
pub fn set_field_type(&mut self, v: DataType)[src]
pub fn get_shape(&self) -> &TensorShapeProto[src]
pub fn clear_shape(&mut self)[src]
pub fn has_shape(&self) -> bool[src]
pub fn set_shape(&mut self, v: TensorShapeProto)[src]
pub fn mut_shape(&mut self) -> &mut TensorShapeProto[src]
pub fn take_shape(&mut self) -> TensorShapeProto[src]
pub fn get_tensor(&self) -> &TensorProto[src]
pub fn clear_tensor(&mut self)[src]
pub fn has_tensor(&self) -> bool[src]
pub fn set_tensor(&mut self, v: TensorProto)[src]
pub fn mut_tensor(&mut self) -> &mut TensorProto[src]
pub fn take_tensor(&mut self) -> TensorProto[src]
pub fn get_list(&self) -> &AttrValue_ListValue[src]
pub fn clear_list(&mut self)[src]
pub fn has_list(&self) -> bool[src]
pub fn set_list(&mut self, v: AttrValue_ListValue)[src]
pub fn mut_list(&mut self) -> &mut AttrValue_ListValue[src]
pub fn take_list(&mut self) -> AttrValue_ListValue[src]
pub fn get_func(&self) -> &NameAttrList[src]
pub fn clear_func(&mut self)[src]
pub fn has_func(&self) -> bool[src]
pub fn set_func(&mut self, v: NameAttrList)[src]
pub fn mut_func(&mut self) -> &mut NameAttrList[src]
pub fn take_func(&mut self) -> NameAttrList[src]
pub fn get_placeholder(&self) -> &str[src]
pub fn clear_placeholder(&mut self)[src]
pub fn has_placeholder(&self) -> bool[src]
pub fn set_placeholder(&mut self, v: String)[src]
pub fn mut_placeholder(&mut self) -> &mut String[src]
pub fn take_placeholder(&mut self) -> String[src]
Trait Implementations
impl Clear for AttrValue[src]
impl Clone for AttrValue[src]
impl Debug for AttrValue[src]
impl Default for AttrValue[src]
impl<'a> Default for &'a AttrValue[src]
impl Message for AttrValue[src]
fn is_initialized(&self) -> bool[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>[src]
fn compute_size(&self) -> u32[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32[src]
fn get_unknown_fields(&self) -> &UnknownFields[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields[src]
fn as_any(&self) -> &dyn Any[src]
fn as_any_mut(&mut self) -> &mut dyn Any[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>[src]
fn descriptor(&self) -> &'static MessageDescriptor[src]
fn new() -> AttrValue[src]
fn descriptor_static() -> &'static MessageDescriptor[src]
fn default_instance() -> &'static AttrValue[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>[src]
fn check_initialized(&self) -> Result<(), ProtobufError>[src]
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn type_id(&self) -> TypeId[src]
impl PartialEq<AttrValue> for AttrValue[src]
impl ProtobufValue for AttrValue[src]
fn as_ref(&self) -> ReflectValueRef[src]
fn as_any(&self) -> &(dyn Any + 'static)[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ReflectValueRef<'static>[src]
impl StructuralPartialEq for AttrValue[src]
Auto Trait Implementations
impl RefUnwindSafe for AttrValue
impl Send for AttrValue
impl Sync for AttrValue
impl Unpin for AttrValue
impl UnwindSafe for AttrValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,