pub struct ThumbNailFormat {
pub mimetype: String,
pub size: Option<usize>,
pub width: Option<usize>,
pub height: Option<usize>,
pub duration: Option<usize>,
pub url: String,
}Fields§
§mimetype: String§size: Option<usize>§width: Option<usize>§height: Option<usize>§duration: Option<usize>§url: StringTrait Implementations§
Source§impl Clone for ThumbNailFormat
impl Clone for ThumbNailFormat
Source§fn clone(&self) -> ThumbNailFormat
fn clone(&self) -> ThumbNailFormat
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 ThumbNailFormat
impl Debug for ThumbNailFormat
Source§impl<'de> Deserialize<'de> for ThumbNailFormat
impl<'de> Deserialize<'de> for ThumbNailFormat
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
impl Eq for ThumbNailFormat
Source§impl Hash for ThumbNailFormat
impl Hash for ThumbNailFormat
Source§impl Ord for ThumbNailFormat
impl Ord for ThumbNailFormat
Source§fn cmp(&self, other: &ThumbNailFormat) -> Ordering
fn cmp(&self, other: &ThumbNailFormat) -> Ordering
1.21.0 (const: unstable) · 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 ThumbNailFormat
impl PartialEq for ThumbNailFormat
Source§fn eq(&self, other: &ThumbNailFormat) -> bool
fn eq(&self, other: &ThumbNailFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ThumbNailFormat
impl PartialOrd for ThumbNailFormat
Source§impl Serialize for ThumbNailFormat
impl Serialize for ThumbNailFormat
impl StructuralPartialEq for ThumbNailFormat
Auto Trait Implementations§
impl Freeze for ThumbNailFormat
impl RefUnwindSafe for ThumbNailFormat
impl Send for ThumbNailFormat
impl Sync for ThumbNailFormat
impl Unpin for ThumbNailFormat
impl UnsafeUnpin for ThumbNailFormat
impl UnwindSafe for ThumbNailFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.