pub struct ResupplyReceivedPdu {
pub receiving_entity_id: EntityId,
pub supplying_entity_id: EntityId,
pub number_of_supply_types: u8,
pub supplies: Vec<SupplyQuantity>,
/* private fields */
}Expand description
Implemented according to IEEE 1278.1-2012 §7.4.4
Fields§
§receiving_entity_id: EntityId§supplying_entity_id: EntityId§number_of_supply_types: u8§supplies: Vec<SupplyQuantity>Implementations§
Trait Implementations§
Source§impl Debug for ResupplyReceivedPdu
impl Debug for ResupplyReceivedPdu
Source§impl Default for ResupplyReceivedPdu
impl Default for ResupplyReceivedPdu
Source§impl Pdu for ResupplyReceivedPdu
impl Pdu for ResupplyReceivedPdu
type Header = PduHeader
fn header(&self) -> &Self::Header
fn header_mut(&mut self) -> &mut Self::Header
Source§fn deserialize<B: Buf>(buf: &mut B) -> Result<Self, DISError>where
Self: Sized,
fn deserialize<B: Buf>(buf: &mut B) -> Result<Self, DISError>where
Self: Sized,
Errors Read more
Source§fn deserialize_without_header<B: Buf>(
buf: &mut B,
header: Self::Header,
) -> Result<Self, DISError>where
Self: Sized,
fn deserialize_without_header<B: Buf>(
buf: &mut B,
header: Self::Header,
) -> Result<Self, DISError>where
Self: Sized,
Errors Read more
fn as_any(&self) -> &dyn Any
fn finalize(&mut self)
Auto Trait Implementations§
impl Freeze for ResupplyReceivedPdu
impl RefUnwindSafe for ResupplyReceivedPdu
impl Send for ResupplyReceivedPdu
impl Sync for ResupplyReceivedPdu
impl Unpin for ResupplyReceivedPdu
impl UnsafeUnpin for ResupplyReceivedPdu
impl UnwindSafe for ResupplyReceivedPdu
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