pub struct MandatePayload {
pub type: String,
pub user_agent: String,
pub user_ip: Option<String>,
}Expand description
Mandate is passed when a card is to be tokenized
Fields§
§type: StringIndicates the mandate type
user_agent: StringOperating system and web client used by the end-user
user_ip: Option<String>IP address of the end user. Supports IPv4 and IPv6
Trait Implementations§
Source§impl Clone for MandatePayload
impl Clone for MandatePayload
Source§fn clone(&self) -> MandatePayload
fn clone(&self) -> MandatePayload
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 MandatePayload
impl Debug for MandatePayload
Source§impl<'de> Deserialize<'de> for MandatePayload
impl<'de> Deserialize<'de> for MandatePayload
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 MandatePayload
impl RefUnwindSafe for MandatePayload
impl Send for MandatePayload
impl Sync for MandatePayload
impl Unpin for MandatePayload
impl UnsafeUnpin for MandatePayload
impl UnwindSafe for MandatePayload
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