pub struct SiteSkippableSetting {
pub kind: Option<String>,
pub progress_offset: Option<VideoOffset>,
pub skip_offset: Option<VideoOffset>,
pub skippable: Option<bool>,
}Expand description
Skippable Settings
This type is not used in any activity, and only used as part of another schema.
Fields§
§kind: Option<String>Identifies what kind of resource this is. Value: the fixed string “dfareporting#siteSkippableSetting”.
progress_offset: Option<VideoOffset>Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true.
skip_offset: Option<VideoOffset>Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true.
skippable: Option<bool>Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.
Trait Implementations§
Source§impl Clone for SiteSkippableSetting
impl Clone for SiteSkippableSetting
Source§fn clone(&self) -> SiteSkippableSetting
fn clone(&self) -> SiteSkippableSetting
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 SiteSkippableSetting
impl Debug for SiteSkippableSetting
Source§impl Default for SiteSkippableSetting
impl Default for SiteSkippableSetting
Source§fn default() -> SiteSkippableSetting
fn default() -> SiteSkippableSetting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SiteSkippableSetting
impl<'de> Deserialize<'de> for SiteSkippableSetting
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 Serialize for SiteSkippableSetting
impl Serialize for SiteSkippableSetting
impl Part for SiteSkippableSetting
Auto Trait Implementations§
impl Freeze for SiteSkippableSetting
impl RefUnwindSafe for SiteSkippableSetting
impl Send for SiteSkippableSetting
impl Sync for SiteSkippableSetting
impl Unpin for SiteSkippableSetting
impl UnwindSafe for SiteSkippableSetting
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