Struct google_dfareporting3::api::ClickThroughUrl
source · pub struct ClickThroughUrl {
pub computed_click_through_url: Option<String>,
pub custom_click_through_url: Option<String>,
pub default_landing_page: Option<bool>,
pub landing_page_id: Option<i64>,
}
Expand description
Click-through URL
This type is not used in any activity, and only used as part of another schema.
Fields§
§computed_click_through_url: Option<String>
Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
- If defaultLandingPage is enabled then the campaign’s default landing page URL is assigned to this field.
- If defaultLandingPage is not enabled and a landingPageId is specified then that landing page’s URL is assigned to this field.
- If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
custom_click_through_url: Option<String>
Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
default_landing_page: Option<bool>
Whether the campaign default landing page is used.
landing_page_id: Option<i64>
ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
Trait Implementations§
source§impl Clone for ClickThroughUrl
impl Clone for ClickThroughUrl
source§fn clone(&self) -> ClickThroughUrl
fn clone(&self) -> ClickThroughUrl
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 ClickThroughUrl
impl Debug for ClickThroughUrl
source§impl Default for ClickThroughUrl
impl Default for ClickThroughUrl
source§fn default() -> ClickThroughUrl
fn default() -> ClickThroughUrl
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClickThroughUrl
impl<'de> Deserialize<'de> for ClickThroughUrl
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 ClickThroughUrl
impl Serialize for ClickThroughUrl
impl Part for ClickThroughUrl
Auto Trait Implementations§
impl RefUnwindSafe for ClickThroughUrl
impl Send for ClickThroughUrl
impl Sync for ClickThroughUrl
impl Unpin for ClickThroughUrl
impl UnwindSafe for ClickThroughUrl
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