#[repr(i32)]pub enum DatasetType {
DATASET_TYPE_UNSPECIFIED = 0,
DB_TABLE = 1,
}Expand description
Storage kind of a dataset. Currently always DB_TABLE.
Variants§
Implementations§
Source§impl DatasetType
impl DatasetType
Sourcepub const DatasetTypeUnspecified: DatasetType = Self::DATASET_TYPE_UNSPECIFIED
pub const DatasetTypeUnspecified: DatasetType = Self::DATASET_TYPE_UNSPECIFIED
Idiomatic alias for Self::DATASET_TYPE_UNSPECIFIED; Debug prints the variant name.
Sourcepub const DbTable: DatasetType = Self::DB_TABLE
pub const DbTable: DatasetType = Self::DB_TABLE
Idiomatic alias for Self::DB_TABLE; Debug prints the variant name.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DatasetType
Source§impl Debug for DatasetType
impl Debug for DatasetType
Source§impl Default for DatasetType
impl Default for DatasetType
Source§fn default() -> DatasetType
fn default() -> DatasetType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatasetType
impl<'de> Deserialize<'de> for DatasetType
Source§fn deserialize<D>(d: D) -> Result<DatasetType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<DatasetType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for DatasetType
impl Enumeration for DatasetType
Source§fn from_i32(value: i32) -> Option<DatasetType>
fn from_i32(value: i32) -> Option<DatasetType>
Convert from an
i32 wire value to the enum. Read moreSource§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.Source§fn from_proto_name(name: &str) -> Option<DatasetType>
fn from_proto_name(name: &str) -> Option<DatasetType>
Look up a variant by its protobuf name string. Read more
Source§fn values() -> &'static [DatasetType]
fn values() -> &'static [DatasetType]
All known variants of this enum, in proto declaration order. Read more
impl Eq for DatasetType
Source§impl Hash for DatasetType
impl Hash for DatasetType
Source§impl PartialEq for DatasetType
impl PartialEq for DatasetType
Source§fn eq(&self, other: &DatasetType) -> bool
fn eq(&self, other: &DatasetType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ProtoElemJson for DatasetType
impl ProtoElemJson for DatasetType
Source§fn serialize_proto_json<S>(
v: &DatasetType,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize_proto_json<S>(
v: &DatasetType,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D>(
d: D,
) -> Result<DatasetType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize_proto_json<'de, D>(
d: D,
) -> Result<DatasetType, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for DatasetType
impl Serialize for DatasetType
Source§fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.