pub struct ServiceRequestPdu {
pub pdu_header: PduHeader,
pub receiving_entity_id: EntityId,
pub servicing_entity_id: EntityId,
pub service_type_requested: u8,
pub number_of_supply_types: u8,
pub padding1: i16,
pub supplies: Vec<SupplyQuantity>,
}Expand description
Implemented according to IEEE 1278.1-2012 §7.4.2
Fields§
§pdu_header: PduHeader§receiving_entity_id: EntityId§servicing_entity_id: EntityId§service_type_requested: u8§number_of_supply_types: u8§padding1: i16§supplies: Vec<SupplyQuantity>Trait Implementations§
Source§impl Clone for ServiceRequestPdu
impl Clone for ServiceRequestPdu
Source§fn clone(&self) -> ServiceRequestPdu
fn clone(&self) -> ServiceRequestPdu
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 Debug for ServiceRequestPdu
impl Debug for ServiceRequestPdu
Source§impl Default for ServiceRequestPdu
impl Default for ServiceRequestPdu
Auto Trait Implementations§
impl Freeze for ServiceRequestPdu
impl RefUnwindSafe for ServiceRequestPdu
impl Send for ServiceRequestPdu
impl Sync for ServiceRequestPdu
impl Unpin for ServiceRequestPdu
impl UnwindSafe for ServiceRequestPdu
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