pub struct MutationEnvelope {
pub client_id: Box<str>,
pub mid: u64,
pub name: Box<str>,
pub args: Value,
}Expand description
The upstream wire envelope (§8.1): one named-mutator invocation. Mutations are
totally ordered per client by mid; the wire carries name + args, never code.
Fields§
§client_id: Box<str>§mid: u64§name: Box<str>§args: ValueJSON-serializable arguments (the determinism contract, §5).
Trait Implementations§
Source§impl Clone for MutationEnvelope
impl Clone for MutationEnvelope
Source§fn clone(&self) -> MutationEnvelope
fn clone(&self) -> MutationEnvelope
Returns a duplicate of the value. Read more
1.0.0 · 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 MutationEnvelope
impl Debug for MutationEnvelope
Source§impl<'de> Deserialize<'de> for MutationEnvelope
impl<'de> Deserialize<'de> for MutationEnvelope
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 MutationEnvelope
impl RefUnwindSafe for MutationEnvelope
impl Send for MutationEnvelope
impl Sync for MutationEnvelope
impl Unpin for MutationEnvelope
impl UnsafeUnpin for MutationEnvelope
impl UnwindSafe for MutationEnvelope
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