pub enum EmbeddedSubtitleOptions {
AllowAll,
AllowText,
AllowImage,
AllowNone,
}
Expand description
An enum representing the options to disable embedded subs.
JSON schema
{
"description": "An enum representing the options to disable embedded
subs.",
"type": "string",
"enum": [
"AllowAll",
"AllowText",
"AllowImage",
"AllowNone"
]
}
Variants§
Trait Implementations§
Source§impl Clone for EmbeddedSubtitleOptions
impl Clone for EmbeddedSubtitleOptions
Source§fn clone(&self) -> EmbeddedSubtitleOptions
fn clone(&self) -> EmbeddedSubtitleOptions
Returns a duplicate 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 EmbeddedSubtitleOptions
impl Debug for EmbeddedSubtitleOptions
Source§impl<'de> Deserialize<'de> for EmbeddedSubtitleOptions
impl<'de> Deserialize<'de> for EmbeddedSubtitleOptions
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<&EmbeddedSubtitleOptions> for EmbeddedSubtitleOptions
impl From<&EmbeddedSubtitleOptions> for EmbeddedSubtitleOptions
Source§fn from(value: &EmbeddedSubtitleOptions) -> Self
fn from(value: &EmbeddedSubtitleOptions) -> Self
Converts to this type from the input type.
Source§impl FromStr for EmbeddedSubtitleOptions
impl FromStr for EmbeddedSubtitleOptions
Source§impl Hash for EmbeddedSubtitleOptions
impl Hash for EmbeddedSubtitleOptions
Source§impl Ord for EmbeddedSubtitleOptions
impl Ord for EmbeddedSubtitleOptions
Source§fn cmp(&self, other: &EmbeddedSubtitleOptions) -> Ordering
fn cmp(&self, other: &EmbeddedSubtitleOptions) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EmbeddedSubtitleOptions
impl PartialEq for EmbeddedSubtitleOptions
Source§impl PartialOrd for EmbeddedSubtitleOptions
impl PartialOrd for EmbeddedSubtitleOptions
Source§impl Serialize for EmbeddedSubtitleOptions
impl Serialize for EmbeddedSubtitleOptions
Source§impl ToString for EmbeddedSubtitleOptions
impl ToString for EmbeddedSubtitleOptions
Source§impl TryFrom<&String> for EmbeddedSubtitleOptions
impl TryFrom<&String> for EmbeddedSubtitleOptions
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for EmbeddedSubtitleOptions
impl TryFrom<&str> for EmbeddedSubtitleOptions
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for EmbeddedSubtitleOptions
impl TryFrom<String> for EmbeddedSubtitleOptions
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for EmbeddedSubtitleOptions
impl Eq for EmbeddedSubtitleOptions
impl StructuralPartialEq for EmbeddedSubtitleOptions
Auto Trait Implementations§
impl Freeze for EmbeddedSubtitleOptions
impl RefUnwindSafe for EmbeddedSubtitleOptions
impl Send for EmbeddedSubtitleOptions
impl Sync for EmbeddedSubtitleOptions
impl Unpin for EmbeddedSubtitleOptions
impl UnwindSafe for EmbeddedSubtitleOptions
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