pub struct SignatureConf {
pub strict: bool,
pub expiry_secs: u64,
pub private_keys: Vec<PrivateKeyConf>,
}Expand description
Signature configuration.
Fields§
§strict: bool§expiry_secs: u64Expiry in seconds (default 1h).
private_keys: Vec<PrivateKeyConf>Trait Implementations§
Source§impl Clone for SignatureConf
impl Clone for SignatureConf
Source§fn clone(&self) -> SignatureConf
fn clone(&self) -> SignatureConf
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 SignatureConf
impl Debug for SignatureConf
Source§impl Default for SignatureConf
impl Default for SignatureConf
Source§impl<'de> Deserialize<'de> for SignatureConf
impl<'de> Deserialize<'de> for SignatureConf
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 SignatureConf
impl RefUnwindSafe for SignatureConf
impl Send for SignatureConf
impl Sync for SignatureConf
impl Unpin for SignatureConf
impl UnwindSafe for SignatureConf
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