pub struct AgeVerificationPending {
pub id: String,
pub url: Option<String>,
pub min_age: Option<u32>,
pub max_age: Option<u32>,
}Expand description
Returned while the user has not yet completed age verification.
Fields§
§id: String§url: Option<String>§min_age: Option<u32>§max_age: Option<u32>Trait Implementations§
Source§impl Clone for AgeVerificationPending
impl Clone for AgeVerificationPending
Source§fn clone(&self) -> AgeVerificationPending
fn clone(&self) -> AgeVerificationPending
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 AgeVerificationPending
impl Debug for AgeVerificationPending
Source§impl<'de> Deserialize<'de> for AgeVerificationPending
impl<'de> Deserialize<'de> for AgeVerificationPending
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 AgeVerificationPending
impl RefUnwindSafe for AgeVerificationPending
impl Send for AgeVerificationPending
impl Sync for AgeVerificationPending
impl Unpin for AgeVerificationPending
impl UnsafeUnpin for AgeVerificationPending
impl UnwindSafe for AgeVerificationPending
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