pub struct PlacementAssignment {
pub active: Option<bool>,
pub placement_id_dimension_value: Option<DimensionValue>,
pub placement_id: Option<String>,
pub ssl_required: Option<bool>,
}Expand description
Placement Assignment.
This type is not used in any activity, and only used as part of another schema.
Fields§
§active: Option<bool>Whether this placement assignment is active. When true, the placement will be included in the ad’s rotation.
placement_id_dimension_value: Option<DimensionValue>Dimension value for the ID of the placement. This is a read-only, auto-generated field.
placement_id: Option<String>ID of the placement to be assigned. This is a required field.
ssl_required: Option<bool>Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.
Trait Implementations§
Source§impl Clone for PlacementAssignment
impl Clone for PlacementAssignment
Source§fn clone(&self) -> PlacementAssignment
fn clone(&self) -> PlacementAssignment
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 PlacementAssignment
impl Debug for PlacementAssignment
Source§impl Default for PlacementAssignment
impl Default for PlacementAssignment
Source§fn default() -> PlacementAssignment
fn default() -> PlacementAssignment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlacementAssignment
impl<'de> Deserialize<'de> for PlacementAssignment
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 PlacementAssignment
impl Serialize for PlacementAssignment
impl Part for PlacementAssignment
Auto Trait Implementations§
impl Freeze for PlacementAssignment
impl RefUnwindSafe for PlacementAssignment
impl Send for PlacementAssignment
impl Sync for PlacementAssignment
impl Unpin for PlacementAssignment
impl UnwindSafe for PlacementAssignment
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<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>
Converts
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>
Converts
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