pub struct SchemaFileFormat(/* private fields */);Expand description
Schema file format.
Implementations§
Source§impl SchemaFileFormat
impl SchemaFileFormat
Sourcepub const SCHEMA_FILE_FORMAT_UNSPECIFIED: SchemaFileFormat
pub const SCHEMA_FILE_FORMAT_UNSPECIFIED: SchemaFileFormat
Unspecified schema file format.
Sourcepub const NO_SCHEMA_FILE: SchemaFileFormat
pub const NO_SCHEMA_FILE: SchemaFileFormat
Do not attach schema file.
Sourcepub const AVRO_SCHEMA_FILE: SchemaFileFormat
pub const AVRO_SCHEMA_FILE: SchemaFileFormat
Avro schema format.
Sourcepub fn as_str_name(&self) -> Cow<'static, str>
pub fn as_str_name(&self) -> Cow<'static, str>
Gets the enum value as a string.
Sourcepub fn from_str_name(name: &str) -> Option<Self>
pub fn from_str_name(name: &str) -> Option<Self>
Creates an enum value from the value name.
Trait Implementations§
Source§impl Clone for SchemaFileFormat
impl Clone for SchemaFileFormat
Source§fn clone(&self) -> SchemaFileFormat
fn clone(&self) -> SchemaFileFormat
Returns a copy 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 SchemaFileFormat
impl Debug for SchemaFileFormat
Source§impl Default for SchemaFileFormat
impl Default for SchemaFileFormat
Source§impl<'de> Deserialize<'de> for SchemaFileFormat
impl<'de> Deserialize<'de> for SchemaFileFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<i32> for SchemaFileFormat
impl From<i32> for SchemaFileFormat
Source§impl PartialEq for SchemaFileFormat
impl PartialEq for SchemaFileFormat
Source§impl Serialize for SchemaFileFormat
impl Serialize for SchemaFileFormat
impl StructuralPartialEq for SchemaFileFormat
Auto Trait Implementations§
impl Freeze for SchemaFileFormat
impl RefUnwindSafe for SchemaFileFormat
impl Send for SchemaFileFormat
impl Sync for SchemaFileFormat
impl Unpin for SchemaFileFormat
impl UnwindSafe for SchemaFileFormat
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