pub struct ControlEnvelope {
pub message_type: MessageType,
pub session_id: Uuid,
pub seq: u64,
pub op: ControlOp,
pub payload: Value,
pub mac: Vec<u8>,
}Expand description
Control-plane envelope with authenticated payload.
Fields§
§message_type: MessageType§session_id: Uuid§seq: u64§op: ControlOp§payload: Value§mac: Vec<u8>Trait Implementations§
Source§impl Clone for ControlEnvelope
impl Clone for ControlEnvelope
Source§fn clone(&self) -> ControlEnvelope
fn clone(&self) -> ControlEnvelope
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 ControlEnvelope
impl Debug for ControlEnvelope
Source§impl<'de> Deserialize<'de> for ControlEnvelope
impl<'de> Deserialize<'de> for ControlEnvelope
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 PartialEq for ControlEnvelope
impl PartialEq for ControlEnvelope
Source§impl Serialize for ControlEnvelope
impl Serialize for ControlEnvelope
impl StructuralPartialEq for ControlEnvelope
Auto Trait Implementations§
impl Freeze for ControlEnvelope
impl RefUnwindSafe for ControlEnvelope
impl Send for ControlEnvelope
impl Sync for ControlEnvelope
impl Unpin for ControlEnvelope
impl UnwindSafe for ControlEnvelope
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