pub enum MediaResolution {
Unspecified,
Low,
Medium,
High,
UltraHigh,
Unknown(String),
}Expand description
genai.MediaResolution
Variants§
Unspecified
Low
Medium
High
UltraHigh
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 MediaResolution
impl Clone for MediaResolution
Source§fn clone(&self) -> MediaResolution
fn clone(&self) -> MediaResolution
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 MediaResolution
impl Debug for MediaResolution
Source§impl Default for MediaResolution
impl Default for MediaResolution
Source§fn default() -> MediaResolution
fn default() -> MediaResolution
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MediaResolution
impl<'de> Deserialize<'de> for MediaResolution
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 MediaResolution
impl Display for MediaResolution
impl Eq for MediaResolution
Source§impl Hash for MediaResolution
impl Hash for MediaResolution
Source§impl PartialEq for MediaResolution
impl PartialEq for MediaResolution
Source§impl Serialize for MediaResolution
impl Serialize for MediaResolution
impl StructuralPartialEq for MediaResolution
Auto Trait Implementations§
impl Freeze for MediaResolution
impl RefUnwindSafe for MediaResolution
impl Send for MediaResolution
impl Sync for MediaResolution
impl Unpin for MediaResolution
impl UnsafeUnpin for MediaResolution
impl UnwindSafe for MediaResolution
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