pub struct ClickThroughUrl {
pub computed_click_through_url: Option<String>,
pub custom_click_through_url: Option<String>,
pub landing_page_id: Option<String>,
pub default_landing_page: Option<bool>,
}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.
landing_page_id: Option<String>ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
default_landing_page: Option<bool>Whether the campaign default landing page is used.
Trait Implementations§
Source§impl Clone for ClickThroughUrl
impl Clone for ClickThroughUrl
Source§fn clone(&self) -> ClickThroughUrl
fn clone(&self) -> ClickThroughUrl
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 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 Freeze for ClickThroughUrl
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
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