pub struct AttributeBuilder(/* private fields */);Implementations§
Source§impl AttributeBuilder
impl AttributeBuilder
pub fn new() -> Self
pub fn new_from_body(body: Attribute) -> Self
pub fn build(self) -> Attribute
pub fn with_originating_simulation_address( self, originating_simulation_address: SimulationAddress, ) -> Self
pub fn with_record_pdu_type(self, record_pdu_type: PduType) -> Self
pub fn with_record_protocol_version( self, record_protocol_version: ProtocolVersion, ) -> Self
pub fn with_master_attribute_record_type( self, master_attribute_record_type: VariableRecordType, ) -> Self
pub fn with_action_code(self, action_code: AttributeActionCode) -> Self
pub fn with_attribute_record_set( self, attribute_record_set: AttributeRecordSet, ) -> Self
pub fn with_attribute_record_sets( self, attribute_record_sets: Vec<AttributeRecordSet>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AttributeBuilder
impl RefUnwindSafe for AttributeBuilder
impl Send for AttributeBuilder
impl Sync for AttributeBuilder
impl Unpin for AttributeBuilder
impl UnwindSafe for AttributeBuilder
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