pub struct SequenceContentItemSubtype3 {
pub duration: Fraction,
pub type_: String,
}Expand description
SequenceContentItemSubtype3
JSON schema
{
"type": "object",
"required": [
"duration",
"type"
],
"properties": {
"duration": {
"$ref": "#/$defs/fraction"
},
"type": {
"type": "string",
"const": "space"
}
},
"additionalProperties": false
}Fields§
§duration: Fraction§type_: StringImplementations§
Trait Implementations§
Source§impl Clone for SequenceContentItemSubtype3
impl Clone for SequenceContentItemSubtype3
Source§fn clone(&self) -> SequenceContentItemSubtype3
fn clone(&self) -> SequenceContentItemSubtype3
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 SequenceContentItemSubtype3
impl Debug for SequenceContentItemSubtype3
Source§impl<'de> Deserialize<'de> for SequenceContentItemSubtype3
impl<'de> Deserialize<'de> for SequenceContentItemSubtype3
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<&SequenceContentItemSubtype3> for SequenceContentItemSubtype3
impl From<&SequenceContentItemSubtype3> for SequenceContentItemSubtype3
Source§fn from(value: &SequenceContentItemSubtype3) -> Self
fn from(value: &SequenceContentItemSubtype3) -> Self
Converts to this type from the input type.
Source§impl From<SequenceContentItemSubtype3> for SequenceContentItemSubtype3
impl From<SequenceContentItemSubtype3> for SequenceContentItemSubtype3
Source§fn from(value: SequenceContentItemSubtype3) -> Self
fn from(value: SequenceContentItemSubtype3) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SequenceContentItemSubtype3> for SequenceContentItemSubtype3
impl TryFrom<SequenceContentItemSubtype3> for SequenceContentItemSubtype3
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SequenceContentItemSubtype3) -> Result<Self, ConversionError>
fn try_from(value: SequenceContentItemSubtype3) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SequenceContentItemSubtype3
impl RefUnwindSafe for SequenceContentItemSubtype3
impl Send for SequenceContentItemSubtype3
impl Sync for SequenceContentItemSubtype3
impl Unpin for SequenceContentItemSubtype3
impl UnwindSafe for SequenceContentItemSubtype3
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