pub struct BundledKel {
pub prefix: Prefix,
pub events: Vec<Event>,
pub attachments: Vec<String>,
}Expand description
One identifier’s KEL plus its per-event signature attachments.
attachments[i] is the hex-encoded CESR attachment for events[i] (empty when
the backend exposes none for that position). Carried so an offline verifier can
check signatures, not just recompute SAIDs.
Fields§
§prefix: PrefixThe identifier’s KEL prefix (validated on deserialize).
events: Vec<Event>The KEL events, oldest first.
attachments: Vec<String>Hex-encoded CESR signature attachments, parallel to events.
Trait Implementations§
Source§impl Clone for BundledKel
impl Clone for BundledKel
Source§fn clone(&self) -> BundledKel
fn clone(&self) -> BundledKel
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 BundledKel
impl Debug for BundledKel
Source§impl<'de> Deserialize<'de> for BundledKel
impl<'de> Deserialize<'de> for BundledKel
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 BundledKel
impl PartialEq for BundledKel
Source§impl Serialize for BundledKel
impl Serialize for BundledKel
impl StructuralPartialEq for BundledKel
Auto Trait Implementations§
impl Freeze for BundledKel
impl RefUnwindSafe for BundledKel
impl Send for BundledKel
impl Sync for BundledKel
impl Unpin for BundledKel
impl UnsafeUnpin for BundledKel
impl UnwindSafe for BundledKel
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