pub struct KeysetConfig {
pub old_keys: usize,
pub rotation_interval: usize,
pub storage_path: Option<String>,
}Fields§
§old_keys: usizeNumber of old keys to keep around
rotation_interval: usizeHow often to rotate keys (seconds between rotations)
storage_path: Option<String>Trait Implementations§
Source§impl Clone for KeysetConfig
impl Clone for KeysetConfig
Source§fn clone(&self) -> KeysetConfig
fn clone(&self) -> KeysetConfig
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 KeysetConfig
impl Debug for KeysetConfig
Source§impl Default for KeysetConfig
impl Default for KeysetConfig
Source§impl<'de> Deserialize<'de> for KeysetConfig
impl<'de> Deserialize<'de> for KeysetConfig
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 KeysetConfig
impl PartialEq for KeysetConfig
impl Eq for KeysetConfig
impl StructuralPartialEq for KeysetConfig
Auto Trait Implementations§
impl Freeze for KeysetConfig
impl RefUnwindSafe for KeysetConfig
impl Send for KeysetConfig
impl Sync for KeysetConfig
impl Unpin for KeysetConfig
impl UnwindSafe for KeysetConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.