pub struct UnsignedEventBundle {
pub event: Event,
pub signer_aliases: Vec<String>,
pub canonical_bytes: Vec<u8>,
pub said: String,
}Expand description
Serialized bundle written by begin_multi_sig_event and read by
sign_partial / combine.
Fields§
§event: EventFinalized event (with computed SAID, empty x field).
signer_aliases: Vec<String>Aliases of the signers expected to contribute partials, in slot order.
canonical_bytes: Vec<u8>Canonical bytes — what each signer actually signs. Same bytes
combine will re-verify against. Held here so offline signers
don’t need to reconstruct canonicalization independently.
said: StringThe SAID of the event, exposed for display / log correlation.
Trait Implementations§
Source§impl Clone for UnsignedEventBundle
impl Clone for UnsignedEventBundle
Source§fn clone(&self) -> UnsignedEventBundle
fn clone(&self) -> UnsignedEventBundle
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 UnsignedEventBundle
impl Debug for UnsignedEventBundle
Source§impl<'de> Deserialize<'de> for UnsignedEventBundle
impl<'de> Deserialize<'de> for UnsignedEventBundle
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 UnsignedEventBundle
impl RefUnwindSafe for UnsignedEventBundle
impl Send for UnsignedEventBundle
impl Sync for UnsignedEventBundle
impl Unpin for UnsignedEventBundle
impl UnsafeUnpin for UnsignedEventBundle
impl UnwindSafe for UnsignedEventBundle
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