pub struct ManualTrigger {
pub activation_duration_minutes: Option<i64>,
pub advertiser_id: Option<i64>,
pub display_name: Option<String>,
pub latest_activation_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub state: Option<String>,
pub trigger_id: Option<i64>,
}
Expand description
A single manual trigger in Display & Video 360. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This resource will sunset on August 1, 2023. Read our feature deprecation announcement for more information.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- manual triggers activate advertisers (response)
- manual triggers create advertisers (request|response)
- manual triggers deactivate advertisers (response)
- manual triggers get advertisers (response)
- manual triggers patch advertisers (request|response)
Fields§
§activation_duration_minutes: Option<i64>
Required. The maximum duration of each activation in minutes. Must be between 1 and 360 inclusive. After this duration, the trigger will be automatically deactivated.
advertiser_id: Option<i64>
Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to.
display_name: Option<String>
Required. The display name of the manual trigger. Must be UTF-8 encoded with a maximum size of 240 bytes.
latest_activation_time: Option<DateTime<Utc>>
Output only. The timestamp of the trigger’s latest activation.
name: Option<String>
Output only. The resource name of the manual trigger.
state: Option<String>
Output only. The state of the manual trigger. Will be set to the INACTIVE
state upon creation.
trigger_id: Option<i64>
Output only. The unique ID of the manual trigger.
Trait Implementations§
Source§impl Clone for ManualTrigger
impl Clone for ManualTrigger
Source§fn clone(&self) -> ManualTrigger
fn clone(&self) -> ManualTrigger
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ManualTrigger
impl Debug for ManualTrigger
Source§impl Default for ManualTrigger
impl Default for ManualTrigger
Source§fn default() -> ManualTrigger
fn default() -> ManualTrigger
Source§impl<'de> Deserialize<'de> for ManualTrigger
impl<'de> Deserialize<'de> for ManualTrigger
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>,
Source§impl Serialize for ManualTrigger
impl Serialize for ManualTrigger
impl RequestValue for ManualTrigger
impl ResponseResult for ManualTrigger
Auto Trait Implementations§
impl Freeze for ManualTrigger
impl RefUnwindSafe for ManualTrigger
impl Send for ManualTrigger
impl Sync for ManualTrigger
impl Unpin for ManualTrigger
impl UnwindSafe for ManualTrigger
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more