Struct ruma_common::events::audio::AudioContent
source · [−]Available on crate features
events and unstable-msc3246 only.Expand description
Audio content.
Fields
duration: Option<Duration>The duration of the video in milliseconds.
waveform: Option<Waveform>The waveform representation of the audio content.
Implementations
Trait Implementations
sourceimpl Clone for AudioContent
impl Clone for AudioContent
sourcefn clone(&self) -> AudioContent
fn clone(&self) -> AudioContent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AudioContent
impl Debug for AudioContent
sourceimpl Default for AudioContent
impl Default for AudioContent
sourcefn default() -> AudioContent
fn default() -> AudioContent
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AudioContent
impl<'de> Deserialize<'de> for AudioContent
sourcefn 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
sourceimpl Serialize for AudioContent
impl Serialize for AudioContent
Auto Trait Implementations
impl RefUnwindSafe for AudioContent
impl Send for AudioContent
impl Sync for AudioContent
impl Unpin for AudioContent
impl UnwindSafe for AudioContent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
