pub struct AppleConfig {
pub team_id: String,
pub key_id: String,
pub private_key_pem: String,
}Expand description
Apple-specific config. See https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens.
Fields§
§team_id: StringApple Developer team id (10-char alphanumeric).
key_id: StringKey id from Apple Developer portal (10-char alphanumeric).
private_key_pem: StringPEM-encoded ES256 private key. Either the key contents inline or the file path — the signer detects which.
Trait Implementations§
Source§impl Clone for AppleConfig
impl Clone for AppleConfig
Source§fn clone(&self) -> AppleConfig
fn clone(&self) -> AppleConfig
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 AppleConfig
impl Debug for AppleConfig
Source§impl<'de> Deserialize<'de> for AppleConfig
impl<'de> Deserialize<'de> for AppleConfig
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 AppleConfig
impl RefUnwindSafe for AppleConfig
impl Send for AppleConfig
impl Sync for AppleConfig
impl Unpin for AppleConfig
impl UnsafeUnpin for AppleConfig
impl UnwindSafe for AppleConfig
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