pub struct SignatureUpdateConfig {
pub feed_url: String,
pub interval_secs: u64,
pub auth_header: Option<String>,
}Expand description
Automatic signature update configuration.
Fields§
§feed_url: StringURL to fetch NDJSON signatures from.
interval_secs: u64Update interval in seconds (default: 3600 = 1 hour).
auth_header: Option<String>Optional authentication header for the feed.
Trait Implementations§
Source§impl Clone for SignatureUpdateConfig
impl Clone for SignatureUpdateConfig
Source§fn clone(&self) -> SignatureUpdateConfig
fn clone(&self) -> SignatureUpdateConfig
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 SignatureUpdateConfig
impl Debug for SignatureUpdateConfig
Source§impl<'de> Deserialize<'de> for SignatureUpdateConfig
impl<'de> Deserialize<'de> for SignatureUpdateConfig
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 SignatureUpdateConfig
impl RefUnwindSafe for SignatureUpdateConfig
impl Send for SignatureUpdateConfig
impl Sync for SignatureUpdateConfig
impl Unpin for SignatureUpdateConfig
impl UnsafeUnpin for SignatureUpdateConfig
impl UnwindSafe for SignatureUpdateConfig
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