pub struct SubmitOp {
pub channel: String,
pub payload: Vec<u8>,
pub author_sig: Option<Witness>,
}Expand description
Submit one op for ordering (the analogue of
SequencerHandle::try_submit).
Fields§
§channel: StringSignature-covered collaboration channel submitting the op.
Serialized under the v1 workspace name for action compatibility.
payload: Vec<u8>Opaque operation body.
Author signature over (channel, payload), if signed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SubmitOp
impl<'de> Deserialize<'de> for SubmitOp
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 Handles<SubmitOp> for SequencerActor
impl Handles<SubmitOp> for SequencerActor
Auto Trait Implementations§
impl Freeze for SubmitOp
impl RefUnwindSafe for SubmitOp
impl Send for SubmitOp
impl Sync for SubmitOp
impl Unpin for SubmitOp
impl UnsafeUnpin for SubmitOp
impl UnwindSafe for SubmitOp
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