#[non_exhaustive]pub struct ClientData {
pub ty: String,
pub challenge: String,
pub origin: String,
pub cross_origin: bool,
pub other_keys: Option<ClientDataOtherKeys>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ty: String§challenge: String§origin: String§cross_origin: bool§other_keys: Option<ClientDataOtherKeys>Implementations§
Trait Implementations§
Source§impl Clone for ClientData
impl Clone for ClientData
Source§fn clone(&self) -> ClientData
fn clone(&self) -> ClientData
Returns a copy 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 ClientData
impl Debug for ClientData
Source§impl PartialEq for ClientData
impl PartialEq for ClientData
impl StructuralPartialEq for ClientData
Auto Trait Implementations§
impl Freeze for ClientData
impl RefUnwindSafe for ClientData
impl Send for ClientData
impl Sync for ClientData
impl Unpin for ClientData
impl UnwindSafe for ClientData
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