pub struct AuthenticationCodeTypeFragment {
pub url: String,
pub length: i32,
}
Expand description
A digit-only authentication code is delivered to https:fragment.com. The user must be logged in there via a wallet owning the phone number’s NFT
Fields§
§url: String
URL to open to receive the code
length: i32
Length of the code
Trait Implementations§
Source§impl Clone for AuthenticationCodeTypeFragment
impl Clone for AuthenticationCodeTypeFragment
Source§fn clone(&self) -> AuthenticationCodeTypeFragment
fn clone(&self) -> AuthenticationCodeTypeFragment
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 Default for AuthenticationCodeTypeFragment
impl Default for AuthenticationCodeTypeFragment
Source§fn default() -> AuthenticationCodeTypeFragment
fn default() -> AuthenticationCodeTypeFragment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticationCodeTypeFragment
impl<'de> Deserialize<'de> for AuthenticationCodeTypeFragment
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 AuthenticationCodeTypeFragment
impl PartialEq for AuthenticationCodeTypeFragment
Source§fn eq(&self, other: &AuthenticationCodeTypeFragment) -> bool
fn eq(&self, other: &AuthenticationCodeTypeFragment) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuthenticationCodeTypeFragment
Auto Trait Implementations§
impl Freeze for AuthenticationCodeTypeFragment
impl RefUnwindSafe for AuthenticationCodeTypeFragment
impl Send for AuthenticationCodeTypeFragment
impl Sync for AuthenticationCodeTypeFragment
impl Unpin for AuthenticationCodeTypeFragment
impl UnwindSafe for AuthenticationCodeTypeFragment
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