#[non_exhaustive]pub struct NativeIssuerConfig {
pub issuer: String,
pub audience: Vec<String>,
pub token_ttl_secs: u64,
pub signing_key_env: String,
}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.issuer: String§audience: Vec<String>§token_ttl_secs: u64§signing_key_env: StringTrait Implementations§
Source§impl Clone for NativeIssuerConfig
impl Clone for NativeIssuerConfig
Source§fn clone(&self) -> NativeIssuerConfig
fn clone(&self) -> NativeIssuerConfig
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 NativeIssuerConfig
impl Debug for NativeIssuerConfig
Source§impl<'de> Deserialize<'de> for NativeIssuerConfig
impl<'de> Deserialize<'de> for NativeIssuerConfig
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 NativeIssuerConfig
impl PartialEq for NativeIssuerConfig
Source§impl Serialize for NativeIssuerConfig
impl Serialize for NativeIssuerConfig
impl StructuralPartialEq for NativeIssuerConfig
Auto Trait Implementations§
impl Freeze for NativeIssuerConfig
impl RefUnwindSafe for NativeIssuerConfig
impl Send for NativeIssuerConfig
impl Sync for NativeIssuerConfig
impl Unpin for NativeIssuerConfig
impl UnsafeUnpin for NativeIssuerConfig
impl UnwindSafe for NativeIssuerConfig
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