Enum google_api_proto::google::cloud::dataplex::v1::storage_format::Format
source · #[repr(i32)]pub enum Format {
Show 13 variants
Unspecified = 0,
Parquet = 1,
Avro = 2,
Orc = 3,
Csv = 100,
Json = 101,
Image = 200,
Audio = 201,
Video = 202,
Text = 203,
Tfrecord = 204,
Other = 1_000,
Unknown = 1_001,
}
Expand description
The specific file format of the data.
Variants§
Unspecified = 0
Format unspecified.
Parquet = 1
Parquet-formatted structured data.
Avro = 2
Avro-formatted structured data.
Orc = 3
Orc-formatted structured data.
Csv = 100
Csv-formatted semi-structured data.
Json = 101
Json-formatted semi-structured data.
Image = 200
Image data formats (such as jpg and png).
Audio = 201
Audio data formats (such as mp3, and wav).
Video = 202
Video data formats (such as mp4 and mpg).
Text = 203
Textual data formats (such as txt and xml).
Tfrecord = 204
TensorFlow record format.
Other = 1_000
Data that doesn’t match a specific format.
Unknown = 1_001
Data of an unknown format.
Implementations§
source§impl Format
impl Format
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Ord for Format
impl Ord for Format
source§impl PartialEq for Format
impl PartialEq for Format
source§impl PartialOrd for Format
impl PartialOrd for Format
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for Format
impl TryFrom<i32> for Format
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request