pub struct VideoMessageAdvertisements {
pub advertisements: Vec<VideoMessageAdvertisement>,
pub start_delay: i32,
pub between_delay: i32,
}Expand description
Contains a list of advertisements to be shown while a video from a message is watched
Fields§
§advertisements: Vec<VideoMessageAdvertisement>List of advertisements
start_delay: i32Delay before the first advertisement is shown, in seconds
between_delay: i32Delay between consecutive advertisements, in seconds
Trait Implementations§
Source§impl Clone for VideoMessageAdvertisements
impl Clone for VideoMessageAdvertisements
Source§fn clone(&self) -> VideoMessageAdvertisements
fn clone(&self) -> VideoMessageAdvertisements
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 VideoMessageAdvertisements
impl Debug for VideoMessageAdvertisements
Source§impl Default for VideoMessageAdvertisements
impl Default for VideoMessageAdvertisements
Source§fn default() -> VideoMessageAdvertisements
fn default() -> VideoMessageAdvertisements
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VideoMessageAdvertisements
impl<'de> Deserialize<'de> for VideoMessageAdvertisements
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 StructuralPartialEq for VideoMessageAdvertisements
Auto Trait Implementations§
impl Freeze for VideoMessageAdvertisements
impl RefUnwindSafe for VideoMessageAdvertisements
impl Send for VideoMessageAdvertisements
impl Sync for VideoMessageAdvertisements
impl Unpin for VideoMessageAdvertisements
impl UnsafeUnpin for VideoMessageAdvertisements
impl UnwindSafe for VideoMessageAdvertisements
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