[−][src]Struct tensorflow_serving_client::rewriter_config::AutoParallelOptions
Generated files are compatible only with the same version of protobuf runtime.
Fields
enable: bool
num_replicas: i32
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl AutoParallelOptions
[src]
pub fn new() -> AutoParallelOptions
[src]
pub fn get_enable(&self) -> bool
[src]
pub fn clear_enable(&mut self)
[src]
pub fn set_enable(&mut self, v: bool)
[src]
pub fn get_num_replicas(&self) -> i32
[src]
pub fn clear_num_replicas(&mut self)
[src]
pub fn set_num_replicas(&mut self, v: i32)
[src]
Trait Implementations
impl Clear for AutoParallelOptions
[src]
impl Clone for AutoParallelOptions
[src]
fn clone(&self) -> AutoParallelOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AutoParallelOptions
[src]
impl Default for AutoParallelOptions
[src]
fn default() -> AutoParallelOptions
[src]
impl<'a> Default for &'a AutoParallelOptions
[src]
fn default() -> &'a AutoParallelOptions
[src]
impl Message for AutoParallelOptions
[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() -> AutoParallelOptions
[src]
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn default_instance() -> &'static AutoParallelOptions
[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<AutoParallelOptions> for AutoParallelOptions
[src]
fn eq(&self, other: &AutoParallelOptions) -> bool
[src]
fn ne(&self, other: &AutoParallelOptions) -> bool
[src]
impl ProtobufValue for AutoParallelOptions
[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 AutoParallelOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for AutoParallelOptions
impl Send for AutoParallelOptions
impl Sync for AutoParallelOptions
impl Unpin for AutoParallelOptions
impl UnwindSafe for AutoParallelOptions
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>,