pub struct Verification {
pub id: String,
pub identifier: String,
pub value: String,
pub expires_at: DateTime<Utc>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Verification token - matches OpenAPI schema
Fields§
§id: String§identifier: String§value: String§expires_at: DateTime<Utc>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl AuthVerification for Verification
impl AuthVerification for Verification
Source§impl Clone for Verification
impl Clone for Verification
Source§fn clone(&self) -> Verification
fn clone(&self) -> Verification
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 Verification
impl Debug for Verification
Source§impl<'de> Deserialize<'de> for Verification
impl<'de> Deserialize<'de> for Verification
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Verification, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Verification, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MemoryVerification for Verification
impl MemoryVerification for Verification
fn from_create( id: String, create: &CreateVerification, now: DateTime<Utc>, ) -> Verification
Source§impl Serialize for Verification
impl Serialize for Verification
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Verification
impl RefUnwindSafe for Verification
impl Send for Verification
impl Sync for Verification
impl Unpin for Verification
impl UnwindSafe for Verification
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