pub struct AgeVerificationCompleted {
pub id: String,
pub age_verified: bool,
}Expand description
Returned when the age verification session has completed.
Fields§
§id: String§age_verified: booltrue if the user’s age is within the requested range.
Trait Implementations§
Source§impl Clone for AgeVerificationCompleted
impl Clone for AgeVerificationCompleted
Source§fn clone(&self) -> AgeVerificationCompleted
fn clone(&self) -> AgeVerificationCompleted
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 AgeVerificationCompleted
impl Debug for AgeVerificationCompleted
Source§impl<'de> Deserialize<'de> for AgeVerificationCompleted
impl<'de> Deserialize<'de> for AgeVerificationCompleted
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 AgeVerificationCompleted
impl RefUnwindSafe for AgeVerificationCompleted
impl Send for AgeVerificationCompleted
impl Sync for AgeVerificationCompleted
impl Unpin for AgeVerificationCompleted
impl UnsafeUnpin for AgeVerificationCompleted
impl UnwindSafe for AgeVerificationCompleted
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