pub struct GenerateLinkRequest {Show 14 fields
pub target_url: String,
pub link_type: String,
pub campaign_id: Option<String>,
pub campaign_name: Option<String>,
pub source_content_id: Option<String>,
pub source_page: Option<String>,
pub utm_source: Option<String>,
pub utm_medium: Option<String>,
pub utm_campaign: Option<String>,
pub utm_term: Option<String>,
pub utm_content: Option<String>,
pub link_text: Option<String>,
pub link_position: Option<String>,
pub expires_at: Option<DateTime<Utc>>,
}Fields§
§target_url: String§link_type: String§campaign_id: Option<String>§campaign_name: Option<String>§source_content_id: Option<String>§source_page: Option<String>§utm_source: Option<String>§utm_medium: Option<String>§utm_campaign: Option<String>§utm_term: Option<String>§utm_content: Option<String>§link_text: Option<String>§link_position: Option<String>§expires_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Debug for GenerateLinkRequest
impl Debug for GenerateLinkRequest
Source§impl<'de> Deserialize<'de> for GenerateLinkRequest
impl<'de> Deserialize<'de> for GenerateLinkRequest
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
Auto Trait Implementations§
impl Freeze for GenerateLinkRequest
impl RefUnwindSafe for GenerateLinkRequest
impl Send for GenerateLinkRequest
impl Sync for GenerateLinkRequest
impl Unpin for GenerateLinkRequest
impl UnwindSafe for GenerateLinkRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> 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>
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