pub struct InputCredentialsNew {
pub data: String,
pub allow_save: bool,
}
Expand description
Applies if a user enters new credentials on a payment provider website
Fields§
§data: String
JSON-encoded data with the credential identifier from the payment provider
allow_save: bool
True, if the credential identifier can be saved on the server side
Trait Implementations§
Source§impl Clone for InputCredentialsNew
impl Clone for InputCredentialsNew
Source§fn clone(&self) -> InputCredentialsNew
fn clone(&self) -> InputCredentialsNew
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 InputCredentialsNew
impl Debug for InputCredentialsNew
Source§impl Default for InputCredentialsNew
impl Default for InputCredentialsNew
Source§fn default() -> InputCredentialsNew
fn default() -> InputCredentialsNew
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputCredentialsNew
impl<'de> Deserialize<'de> for InputCredentialsNew
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 PartialEq for InputCredentialsNew
impl PartialEq for InputCredentialsNew
Source§impl Serialize for InputCredentialsNew
impl Serialize for InputCredentialsNew
impl StructuralPartialEq for InputCredentialsNew
Auto Trait Implementations§
impl Freeze for InputCredentialsNew
impl RefUnwindSafe for InputCredentialsNew
impl Send for InputCredentialsNew
impl Sync for InputCredentialsNew
impl Unpin for InputCredentialsNew
impl UnwindSafe for InputCredentialsNew
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