pub struct Datagram {
pub group_id: u64,
pub object_id: u64,
pub priority: u8,
pub status: ObjectStatus,
pub payload: Bytes,
}
Expand description
Static information about the datagram.
Fields§
§group_id: u64
§object_id: u64
§priority: u8
§status: ObjectStatus
§payload: Bytes
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Datagram
impl RefUnwindSafe for Datagram
impl Send for Datagram
impl Sync for Datagram
impl Unpin for Datagram
impl UnwindSafe for Datagram
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