Struct google_realtimebidding1::api::UrlRestriction
source · pub struct UrlRestriction {
pub end_date: Option<Date>,
pub restriction_type: Option<String>,
pub start_date: Option<Date>,
pub url: Option<String>,
}
Expand description
Deprecated. This will be removed in October 2023. For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api Represents the URL restriction (for the URL captured by the pixel callback) for a user list.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_date: Option<Date>
End date (if specified) of the URL restriction. End date should be later than the start date for the date range to be valid.
restriction_type: Option<String>
The restriction type for the specified URL.
start_date: Option<Date>
Start date (if specified) of the URL restriction.
url: Option<String>
Required. The URL to use for applying the restriction on the user list.
Trait Implementations§
source§impl Clone for UrlRestriction
impl Clone for UrlRestriction
source§fn clone(&self) -> UrlRestriction
fn clone(&self) -> UrlRestriction
Returns a copy 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 UrlRestriction
impl Debug for UrlRestriction
source§impl Default for UrlRestriction
impl Default for UrlRestriction
source§fn default() -> UrlRestriction
fn default() -> UrlRestriction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UrlRestriction
impl<'de> Deserialize<'de> for UrlRestriction
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 UrlRestriction
impl Serialize for UrlRestriction
impl Part for UrlRestriction
Auto Trait Implementations§
impl RefUnwindSafe for UrlRestriction
impl Send for UrlRestriction
impl Sync for UrlRestriction
impl Unpin for UrlRestriction
impl UnwindSafe for UrlRestriction
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