pub struct IdentityManagerConfig {
pub cache_ttl: Duration,
pub challenge_timeout: Duration,
pub contact_request_timeout: Duration,
pub enable_profile_backup: bool,
pub profile_backup_interval: Duration,
}Expand description
Identity manager configuration
Fields§
§cache_ttl: DurationCache TTL for identities and profiles
challenge_timeout: DurationChallenge timeout duration
contact_request_timeout: DurationContact request timeout
enable_profile_backup: boolEnable automatic profile backups to DHT
profile_backup_interval: DurationProfile backup interval
Trait Implementations§
Source§impl Clone for IdentityManagerConfig
impl Clone for IdentityManagerConfig
Source§fn clone(&self) -> IdentityManagerConfig
fn clone(&self) -> IdentityManagerConfig
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 IdentityManagerConfig
impl Debug for IdentityManagerConfig
Source§impl Default for IdentityManagerConfig
impl Default for IdentityManagerConfig
Source§impl<'de> Deserialize<'de> for IdentityManagerConfig
impl<'de> Deserialize<'de> for IdentityManagerConfig
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 IdentityManagerConfig
impl RefUnwindSafe for IdentityManagerConfig
impl Send for IdentityManagerConfig
impl Sync for IdentityManagerConfig
impl Unpin for IdentityManagerConfig
impl UnwindSafe for IdentityManagerConfig
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