pub struct ReadAccessSpecification {
pub object_identifier: ObjectIdentifier,
pub property_references: Vec<PropertyReference>,
}Fields§
§object_identifier: ObjectIdentifierObject identifier
property_references: Vec<PropertyReference>List of properties to read
Implementations§
Source§impl ReadAccessSpecification
impl ReadAccessSpecification
Sourcepub fn new(
object_identifier: ObjectIdentifier,
property_references: Vec<PropertyReference>,
) -> Self
pub fn new( object_identifier: ObjectIdentifier, property_references: Vec<PropertyReference>, ) -> Self
Create a new read access specification
Sourcepub fn add_property(&mut self, property_reference: PropertyReference)
pub fn add_property(&mut self, property_reference: PropertyReference)
Add a property reference
pub fn encode(&self, buffer: &mut Vec<u8>) -> EncodingResult<()>
Trait Implementations§
Source§impl Clone for ReadAccessSpecification
impl Clone for ReadAccessSpecification
Source§fn clone(&self) -> ReadAccessSpecification
fn clone(&self) -> ReadAccessSpecification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReadAccessSpecification
impl RefUnwindSafe for ReadAccessSpecification
impl Send for ReadAccessSpecification
impl Sync for ReadAccessSpecification
impl Unpin for ReadAccessSpecification
impl UnsafeUnpin for ReadAccessSpecification
impl UnwindSafe for ReadAccessSpecification
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