pub struct Statement {
pub proof_pubkey: Option<[u8; 32]>,
pub proof_signature: Option<[u8; 64]>,
pub decryption_key: Option<Topic>,
pub channel: Option<Topic>,
pub priority: u32,
pub topics: Vec<Topic>,
pub data: Vec<u8>,
}Expand description
A decoded statement from the statement store.
Fields§
§proof_pubkey: Option<[u8; 32]>§proof_signature: Option<[u8; 64]>Raw sr25519 (or ed25519) signature over the signing payload. Present only for proof variants 0 (Sr25519) and 1 (Ed25519).
decryption_key: Option<Topic>§channel: Option<Topic>§priority: u32§topics: Vec<Topic>§data: Vec<u8>Trait Implementations§
impl StructuralPartialEq for Statement
Auto Trait Implementations§
impl Freeze for Statement
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnsafeUnpin for Statement
impl UnwindSafe for Statement
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