pub struct IdentityConfig {
pub ttl: i64,
pub delegatable: bool,
pub namespace: Option<String>,
}Expand description
Configuration for minting identity tokens.
Fields§
§ttl: i64Token time-to-live in seconds.
delegatable: boolWhether the identity token can be delegated to sub-identities.
namespace: Option<String>Optional namespace restriction.
Trait Implementations§
Source§impl Clone for IdentityConfig
impl Clone for IdentityConfig
Source§fn clone(&self) -> IdentityConfig
fn clone(&self) -> IdentityConfig
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 IdentityConfig
impl Debug for IdentityConfig
Auto Trait Implementations§
impl Freeze for IdentityConfig
impl RefUnwindSafe for IdentityConfig
impl Send for IdentityConfig
impl Sync for IdentityConfig
impl Unpin for IdentityConfig
impl UnsafeUnpin for IdentityConfig
impl UnwindSafe for IdentityConfig
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