pub struct ProvenanceConfig {
pub enabled: bool,
pub algorithm: String,
pub key_id: Option<String>,
pub secret_key: Option<String>,
pub signed_fields: Vec<String>,
}Expand description
Provenance (signing) configuration.
Fields§
§enabled: boolEnable event signing.
algorithm: StringSigning algorithm.
key_id: Option<String>Key ID.
secret_key: Option<String>Secret key (base64-encoded for HMAC).
signed_fields: Vec<String>Fields to include in signature.
Trait Implementations§
Source§impl Clone for ProvenanceConfig
impl Clone for ProvenanceConfig
Source§fn clone(&self) -> ProvenanceConfig
fn clone(&self) -> ProvenanceConfig
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 ProvenanceConfig
impl Debug for ProvenanceConfig
Source§impl Default for ProvenanceConfig
impl Default for ProvenanceConfig
Source§impl<'de> Deserialize<'de> for ProvenanceConfig
impl<'de> Deserialize<'de> for ProvenanceConfig
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 ProvenanceConfig
impl RefUnwindSafe for ProvenanceConfig
impl Send for ProvenanceConfig
impl Sync for ProvenanceConfig
impl Unpin for ProvenanceConfig
impl UnwindSafe for ProvenanceConfig
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