pub enum DatasetType {
DATASET_UNKNOWN = 0,
DATASET_TRAINING = 1,
DATASET_VALIDATION = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for DatasetType
impl Clone for DatasetType
Source§fn clone(&self) -> DatasetType
fn clone(&self) -> DatasetType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DatasetType
impl Debug for DatasetType
Source§impl Default for DatasetType
impl Default for DatasetType
Source§impl Hash for DatasetType
impl Hash for DatasetType
Source§impl PartialEq for DatasetType
impl PartialEq for DatasetType
Source§impl ProtobufEnum for DatasetType
impl ProtobufEnum for DatasetType
Source§fn from_i32(value: i32) -> Option<DatasetType>
fn from_i32(value: i32) -> Option<DatasetType>
Try to create an enum from
i32
value.
Return None
if value is unknown.Source§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
Source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
Source§impl ProtobufValue for DatasetType
impl ProtobufValue for DatasetType
Source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
Source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
Source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for DatasetType
impl Eq for DatasetType
impl StructuralPartialEq for DatasetType
Auto Trait Implementations§
impl Freeze for DatasetType
impl RefUnwindSafe for DatasetType
impl Send for DatasetType
impl Sync for DatasetType
impl Unpin for DatasetType
impl UnwindSafe for DatasetType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more