pub struct SetContext {
pub message_type: MessageType,
pub payload: Vec<u8>,
}Expand description
Прикладное сообщение, сопровождающее запрос операции.
Fields§
§message_type: MessageTypeТип сообщения.
payload: Vec<u8>Тело сообщения.
Trait Implementations§
Source§impl Clone for SetContext
impl Clone for SetContext
Source§fn clone(&self) -> SetContext
fn clone(&self) -> SetContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SetContext
impl Debug for SetContext
impl Eq for SetContext
Source§impl PartialEq for SetContext
impl PartialEq for SetContext
impl StructuralPartialEq for SetContext
Auto Trait Implementations§
impl Freeze for SetContext
impl RefUnwindSafe for SetContext
impl Send for SetContext
impl Sync for SetContext
impl Unpin for SetContext
impl UnsafeUnpin for SetContext
impl UnwindSafe for SetContext
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