pub struct MediaPreviewEvent {
pub url: String,
pub title: String,
pub author: String,
pub thumbnail_url: Option<String>,
pub duration_seconds: Option<f64>,
}Fields§
§url: String§title: String§thumbnail_url: Option<String>§duration_seconds: Option<f64>Trait Implementations§
Source§impl Clone for MediaPreviewEvent
impl Clone for MediaPreviewEvent
Source§fn clone(&self) -> MediaPreviewEvent
fn clone(&self) -> MediaPreviewEvent
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 MediaPreviewEvent
impl Debug for MediaPreviewEvent
Auto Trait Implementations§
impl Freeze for MediaPreviewEvent
impl RefUnwindSafe for MediaPreviewEvent
impl Send for MediaPreviewEvent
impl Sync for MediaPreviewEvent
impl Unpin for MediaPreviewEvent
impl UnsafeUnpin for MediaPreviewEvent
impl UnwindSafe for MediaPreviewEvent
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