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