pub struct Attribute {
pub originating_simulation_address: SimulationAddress,
pub record_pdu_type: PduType,
pub record_protocol_version: ProtocolVersion,
pub master_attribute_record_type: VariableRecordType,
pub action_code: AttributeActionCode,
pub attribute_record_sets: Vec<AttributeRecordSet>,
}Expand description
5.3.6 Attribute PDU
7.2.6 Attribute PDU
Fields§
§originating_simulation_address: SimulationAddress§record_pdu_type: PduType§record_protocol_version: ProtocolVersion§master_attribute_record_type: VariableRecordType§action_code: AttributeActionCode§attribute_record_sets: Vec<AttributeRecordSet>Implementations§
Source§impl Attribute
impl Attribute
pub fn builder() -> AttributeBuilder
pub fn into_builder(self) -> AttributeBuilder
pub fn into_pdu_body(self) -> PduBody
Trait Implementations§
Source§impl Interaction for Attribute
impl Interaction for Attribute
Source§impl SerializePdu for Attribute
impl SerializePdu for Attribute
fn serialize_pdu(&self, _version: SupportedVersion, buf: &mut BytesMut) -> u16
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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