pub struct MethodDescriptor {
pub class_id: u16,
pub instance_id: ObisCode,
pub method_id: i8,
}Expand description
A COSEM method descriptor: the (class-id, instance-id, method-id) triple that references one method of one object instance. Encoded as 9 raw octets.
Fields§
§class_id: u16Interface class id of the referenced object.
instance_id: ObisCodeLogical name (OBIS) of the object instance.
method_id: i8Method index within the object.
Implementations§
Source§impl MethodDescriptor
impl MethodDescriptor
Trait Implementations§
Source§impl Clone for MethodDescriptor
impl Clone for MethodDescriptor
Source§fn clone(&self) -> MethodDescriptor
fn clone(&self) -> MethodDescriptor
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 moreSource§impl Debug for MethodDescriptor
impl Debug for MethodDescriptor
Source§impl PartialEq for MethodDescriptor
impl PartialEq for MethodDescriptor
impl StructuralPartialEq for MethodDescriptor
Auto Trait Implementations§
impl Freeze for MethodDescriptor
impl RefUnwindSafe for MethodDescriptor
impl Send for MethodDescriptor
impl Sync for MethodDescriptor
impl Unpin for MethodDescriptor
impl UnsafeUnpin for MethodDescriptor
impl UnwindSafe for MethodDescriptor
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