pub struct Audit {
pub mode: AuditMode,
pub signing_key_uri: Option<String>,
pub signature: Option<String>,
pub endpoint_uri: Option<String>,
pub endpoint_schema: Option<String>,
}Expand description
Audit configuration for the declaration.
Fields§
§mode: AuditModeAudit mode: none, signature, or endpoint.
signing_key_uri: Option<String>Signature mode: URI of the signing JWK.
signature: Option<String>Signature mode: detached JWS over the canonical JSON form.
endpoint_uri: Option<String>Endpoint mode: audit-report POST endpoint.
endpoint_schema: Option<String>Endpoint mode: schema URI for audit report payloads.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Audit
impl<'de> Deserialize<'de> for Audit
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 Audit
impl RefUnwindSafe for Audit
impl Send for Audit
impl Sync for Audit
impl Unpin for Audit
impl UnsafeUnpin for Audit
impl UnwindSafe for Audit
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