pub struct Submission {
pub channel: String,
pub payload: Vec<u8>,
pub author_sig: Option<Witness>,
}Expand description
An operation offered to the sequencer on an attribution channel.
Fields§
§channel: StringSignature-covered collaboration channel submitting the op.
payload: Vec<u8>Opaque operation body, stored as OpEntry::payload.
Author signature over (channel, payload); carried into
OpEntry::author_sig. None for unsigned (pre-L8) clients.
Auto Trait Implementations§
impl Freeze for Submission
impl RefUnwindSafe for Submission
impl Send for Submission
impl Sync for Submission
impl Unpin for Submission
impl UnsafeUnpin for Submission
impl UnwindSafe for Submission
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