pub struct ApiMessage {
pub msg_index: u32,
pub data: Vec<u8>,
}
Fields§
§msg_index: u32
§data: Vec<u8>
Implementations§
Trait Implementations§
Source§impl Clone for ApiMessage
impl Clone for ApiMessage
Source§fn clone(&self) -> ApiMessage
fn clone(&self) -> ApiMessage
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ApiMessage
impl RefUnwindSafe for ApiMessage
impl Send for ApiMessage
impl Sync for ApiMessage
impl Unpin for ApiMessage
impl UnwindSafe for ApiMessage
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