pub struct SignedApiRecord {
pub content: ApiRecord,
pub signature: String,
pub signing_cert: String,
}Expand description
A directory entry together with its JWS signature and the signing certificate.
Received in WebSocket DirectoryNotification::modified messages.
Fields§
§content: ApiRecordThe signed directory entry (canonical JSON / RFC 8785 was the payload).
signature: StringBase64url-encoded JWS Signature value (X-BDEW-SIGNATURE).
Reconstruct the full JWS via [crate::transport::jws].
signing_cert: StringSigning certificate encoded per RFC 9440 (X-BDEW-CERT).
Trait Implementations§
Source§impl Clone for SignedApiRecord
impl Clone for SignedApiRecord
Source§fn clone(&self) -> SignedApiRecord
fn clone(&self) -> SignedApiRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SignedApiRecord
impl Debug for SignedApiRecord
Source§impl<'de> Deserialize<'de> for SignedApiRecord
impl<'de> Deserialize<'de> for SignedApiRecord
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 SignedApiRecord
impl PartialEq for SignedApiRecord
Source§fn eq(&self, other: &SignedApiRecord) -> bool
fn eq(&self, other: &SignedApiRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SignedApiRecord
impl Serialize for SignedApiRecord
impl StructuralPartialEq for SignedApiRecord
Auto Trait Implementations§
impl Freeze for SignedApiRecord
impl RefUnwindSafe for SignedApiRecord
impl Send for SignedApiRecord
impl Sync for SignedApiRecord
impl Unpin for SignedApiRecord
impl UnsafeUnpin for SignedApiRecord
impl UnwindSafe for SignedApiRecord
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