pub struct NoSkipPaidMediaVideo {
pub tg_type: String,
pub video: BoxWrapper<Unbox<Video>>,
}Expand description
Companion type to PaidMediaVideo that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Fields§
§tg_type: StringType of the paid media, always “video”
video: BoxWrapper<Unbox<Video>>The video
Implementations§
Source§impl NoSkipPaidMediaVideo
impl NoSkipPaidMediaVideo
pub fn skip(self) -> PaidMediaVideo
Trait Implementations§
Source§impl Clone for NoSkipPaidMediaVideo
impl Clone for NoSkipPaidMediaVideo
Source§fn clone(&self) -> NoSkipPaidMediaVideo
fn clone(&self) -> NoSkipPaidMediaVideo
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 NoSkipPaidMediaVideo
impl Debug for NoSkipPaidMediaVideo
Source§impl Default for NoSkipPaidMediaVideo
impl Default for NoSkipPaidMediaVideo
Source§fn default() -> NoSkipPaidMediaVideo
fn default() -> NoSkipPaidMediaVideo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NoSkipPaidMediaVideo
impl<'de> Deserialize<'de> for NoSkipPaidMediaVideo
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<NoSkipPaidMediaVideo> for PaidMediaVideo
impl From<NoSkipPaidMediaVideo> for PaidMediaVideo
Source§fn from(t: NoSkipPaidMediaVideo) -> Self
fn from(t: NoSkipPaidMediaVideo) -> Self
Converts to this type from the input type.
Source§impl Hash for NoSkipPaidMediaVideo
impl Hash for NoSkipPaidMediaVideo
Source§impl Into<NoSkipPaidMediaVideo> for PaidMediaVideo
impl Into<NoSkipPaidMediaVideo> for PaidMediaVideo
Source§fn into(self) -> NoSkipPaidMediaVideo
fn into(self) -> NoSkipPaidMediaVideo
Converts this type into the (usually inferred) input type.
Source§impl Ord for NoSkipPaidMediaVideo
impl Ord for NoSkipPaidMediaVideo
Source§fn cmp(&self, other: &NoSkipPaidMediaVideo) -> Ordering
fn cmp(&self, other: &NoSkipPaidMediaVideo) -> Ordering
1.21.0 · 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 NoSkipPaidMediaVideo
impl PartialEq for NoSkipPaidMediaVideo
Source§impl PartialOrd for NoSkipPaidMediaVideo
impl PartialOrd for NoSkipPaidMediaVideo
Source§impl Serialize for NoSkipPaidMediaVideo
impl Serialize for NoSkipPaidMediaVideo
impl Eq for NoSkipPaidMediaVideo
impl StructuralPartialEq for NoSkipPaidMediaVideo
Auto Trait Implementations§
impl Freeze for NoSkipPaidMediaVideo
impl RefUnwindSafe for NoSkipPaidMediaVideo
impl Send for NoSkipPaidMediaVideo
impl Sync for NoSkipPaidMediaVideo
impl Unpin for NoSkipPaidMediaVideo
impl UnsafeUnpin for NoSkipPaidMediaVideo
impl UnwindSafe for NoSkipPaidMediaVideo
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
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.