pub enum VideoContentMimeType {
TypeUnspecified,
TypeMp4,
TypeMpeg,
TypeMpg,
TypeMov,
TypeAvi,
TypeXFlv,
TypeWebm,
TypeWmv,
Type3gpp,
TypeYtBeyond,
Unknown(String),
}Expand description
genai.VideoContent.MimeType
Variants§
TypeUnspecified
TypeMp4
TypeMpeg
TypeMpg
TypeMov
TypeAvi
TypeXFlv
TypeWebm
TypeWmv
Type3gpp
TypeYtBeyond
Unknown(String)
A value this crate does not know about yet.
The harness is versioned independently of this crate, so an unrecognised enum value is treated as forward compatibility rather than as a decode error.
Implementations§
Trait Implementations§
Source§impl Clone for VideoContentMimeType
impl Clone for VideoContentMimeType
Source§fn clone(&self) -> VideoContentMimeType
fn clone(&self) -> VideoContentMimeType
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 moreSource§impl Debug for VideoContentMimeType
impl Debug for VideoContentMimeType
Source§impl Default for VideoContentMimeType
impl Default for VideoContentMimeType
Source§fn default() -> VideoContentMimeType
fn default() -> VideoContentMimeType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VideoContentMimeType
impl<'de> Deserialize<'de> for VideoContentMimeType
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for VideoContentMimeType
impl Display for VideoContentMimeType
impl Eq for VideoContentMimeType
Source§impl Hash for VideoContentMimeType
impl Hash for VideoContentMimeType
Source§impl PartialEq for VideoContentMimeType
impl PartialEq for VideoContentMimeType
Source§impl Serialize for VideoContentMimeType
impl Serialize for VideoContentMimeType
impl StructuralPartialEq for VideoContentMimeType
Auto Trait Implementations§
impl Freeze for VideoContentMimeType
impl RefUnwindSafe for VideoContentMimeType
impl Send for VideoContentMimeType
impl Sync for VideoContentMimeType
impl Unpin for VideoContentMimeType
impl UnsafeUnpin for VideoContentMimeType
impl UnwindSafe for VideoContentMimeType
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