pub struct PacketMeta {
pub s_type: SystemSType,
pub s_type_req: u64,
pub handler_id: u64,
pub has_payload: bool,
}Fields§
§s_type: SystemSType§s_type_req: u64§handler_id: u64§has_payload: boolTrait Implementations§
Source§impl Clone for PacketMeta
impl Clone for PacketMeta
Source§fn clone(&self) -> PacketMeta
fn clone(&self) -> PacketMeta
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<'de> Deserialize<'de> for PacketMeta
impl<'de> Deserialize<'de> for PacketMeta
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 Serialize for PacketMeta
impl Serialize for PacketMeta
Source§impl StrongType for PacketMeta
impl StrongType for PacketMeta
Source§fn get_s_type(&self) -> &dyn StructureType
fn get_s_type(&self) -> &dyn StructureType
Need to return reference of structure type enum inside structure
Auto Trait Implementations§
impl Freeze for PacketMeta
impl RefUnwindSafe for PacketMeta
impl Send for PacketMeta
impl Sync for PacketMeta
impl Unpin for PacketMeta
impl UnwindSafe for PacketMeta
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