pub struct AppleNativeAuthRequest {
pub identity_token: String,
pub user: Option<String>,
pub name: Option<String>,
pub device_label: Option<String>,
}Expand description
AppleNativeAuthRequest model.
Fields§
§identity_token: StringApple-signed JWT from ASAuthorizationAppleIDCredential.identityToken.
user: Option<String>Apple’s stable userIdentifier (informational only — server reads sub from the JWT).
name: Option<String>User profile name from Apple. Apple supplies this only on first sign-in; iOS should cache it locally and resend if the user record needs to be bootstrapped.
device_label: Option<String>Device name (e.g. iPhone 15 Pro) surfaced on the minted api_key for /me/sessions.
Trait Implementations§
Source§impl Clone for AppleNativeAuthRequest
impl Clone for AppleNativeAuthRequest
Source§fn clone(&self) -> AppleNativeAuthRequest
fn clone(&self) -> AppleNativeAuthRequest
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 AppleNativeAuthRequest
impl Debug for AppleNativeAuthRequest
Source§impl Default for AppleNativeAuthRequest
impl Default for AppleNativeAuthRequest
Source§fn default() -> AppleNativeAuthRequest
fn default() -> AppleNativeAuthRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppleNativeAuthRequest
impl<'de> Deserialize<'de> for AppleNativeAuthRequest
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 AppleNativeAuthRequest
impl PartialEq for AppleNativeAuthRequest
Source§impl Serialize for AppleNativeAuthRequest
impl Serialize for AppleNativeAuthRequest
impl StructuralPartialEq for AppleNativeAuthRequest
Auto Trait Implementations§
impl Freeze for AppleNativeAuthRequest
impl RefUnwindSafe for AppleNativeAuthRequest
impl Send for AppleNativeAuthRequest
impl Sync for AppleNativeAuthRequest
impl Unpin for AppleNativeAuthRequest
impl UnsafeUnpin for AppleNativeAuthRequest
impl UnwindSafe for AppleNativeAuthRequest
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