pub struct SlmpDeviceAddress {
pub code: SlmpDeviceCode,
pub number: u32,
}Fields§
§code: SlmpDeviceCode§number: u32Implementations§
Source§impl SlmpDeviceAddress
impl SlmpDeviceAddress
pub const fn new(code: SlmpDeviceCode, number: u32) -> Self
Trait Implementations§
Source§impl Clone for SlmpDeviceAddress
impl Clone for SlmpDeviceAddress
Source§fn clone(&self) -> SlmpDeviceAddress
fn clone(&self) -> SlmpDeviceAddress
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 SlmpDeviceAddress
impl Debug for SlmpDeviceAddress
Source§impl<'de> Deserialize<'de> for SlmpDeviceAddress
impl<'de> Deserialize<'de> for SlmpDeviceAddress
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SlmpDeviceAddress
impl Display for SlmpDeviceAddress
Source§impl Hash for SlmpDeviceAddress
impl Hash for SlmpDeviceAddress
Source§impl PartialEq for SlmpDeviceAddress
impl PartialEq for SlmpDeviceAddress
Source§impl Serialize for SlmpDeviceAddress
impl Serialize for SlmpDeviceAddress
impl Copy for SlmpDeviceAddress
impl Eq for SlmpDeviceAddress
impl StructuralPartialEq for SlmpDeviceAddress
Auto Trait Implementations§
impl Freeze for SlmpDeviceAddress
impl RefUnwindSafe for SlmpDeviceAddress
impl Send for SlmpDeviceAddress
impl Sync for SlmpDeviceAddress
impl Unpin for SlmpDeviceAddress
impl UnsafeUnpin for SlmpDeviceAddress
impl UnwindSafe for SlmpDeviceAddress
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