pub struct LinkClicked {
pub message_id: String,
pub link: String,
pub timestamp: i64,
pub ip_address: Option<String>,
pub user_agent: Option<String>,
pub count: Option<u32>,
}Expand description
Link click tracking event data.
Fields§
§message_id: StringThe message ID containing the clicked link.
link: StringThe URL that was clicked.
timestamp: i64Timestamp when the link was clicked (Unix timestamp).
ip_address: Option<String>IP address of the recipient who clicked the link.
user_agent: Option<String>User agent of the recipient’s browser.
count: Option<u32>Count of how many times this link has been clicked.
Trait Implementations§
Source§impl Clone for LinkClicked
impl Clone for LinkClicked
Source§fn clone(&self) -> LinkClicked
fn clone(&self) -> LinkClicked
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LinkClicked
impl Debug for LinkClicked
Source§impl<'de> Deserialize<'de> for LinkClicked
impl<'de> Deserialize<'de> for LinkClicked
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
impl Eq for LinkClicked
Source§impl PartialEq for LinkClicked
impl PartialEq for LinkClicked
Source§fn eq(&self, other: &LinkClicked) -> bool
fn eq(&self, other: &LinkClicked) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LinkClicked
impl Serialize for LinkClicked
impl StructuralPartialEq for LinkClicked
Auto Trait Implementations§
impl Freeze for LinkClicked
impl RefUnwindSafe for LinkClicked
impl Send for LinkClicked
impl Sync for LinkClicked
impl Unpin for LinkClicked
impl UnsafeUnpin for LinkClicked
impl UnwindSafe for LinkClicked
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