pub struct TextSourceRef {
pub source_id: Option<String>,
pub source_kind: Option<String>,
pub uri: Option<String>,
pub media_timestamp: Option<TimestampContract>,
pub duration_seconds: Option<f64>,
}Fields§
§source_id: Option<String>§source_kind: Option<String>§uri: Option<String>§media_timestamp: Option<TimestampContract>§duration_seconds: Option<f64>Trait Implementations§
Source§impl Clone for TextSourceRef
impl Clone for TextSourceRef
Source§fn clone(&self) -> TextSourceRef
fn clone(&self) -> TextSourceRef
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 TextSourceRef
impl Debug for TextSourceRef
Source§impl<'de> Deserialize<'de> for TextSourceRef
impl<'de> Deserialize<'de> for TextSourceRef
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 PartialEq for TextSourceRef
impl PartialEq for TextSourceRef
Source§fn eq(&self, other: &TextSourceRef) -> bool
fn eq(&self, other: &TextSourceRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextSourceRef
impl Serialize for TextSourceRef
impl StructuralPartialEq for TextSourceRef
Auto Trait Implementations§
impl Freeze for TextSourceRef
impl RefUnwindSafe for TextSourceRef
impl Send for TextSourceRef
impl Sync for TextSourceRef
impl Unpin for TextSourceRef
impl UnsafeUnpin for TextSourceRef
impl UnwindSafe for TextSourceRef
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