pub struct MacAddress<'a>(/* private fields */);Expand description
MAC address returned by the crate.
nv-redfish is not opionated about format of the MAC addresses. So, it returns whatever server returns. This type is only introduced to reduce number of untyped &str returned by functions.
Implementations§
Source§impl MacAddress<'_>
impl MacAddress<'_>
Trait Implementations§
Source§impl<'a> Clone for MacAddress<'a>
impl<'a> Clone for MacAddress<'a>
Source§fn clone(&self) -> MacAddress<'a>
fn clone(&self) -> MacAddress<'a>
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<'a> Debug for MacAddress<'a>
impl<'a> Debug for MacAddress<'a>
Source§impl Display for MacAddress<'_>
impl Display for MacAddress<'_>
impl<'a> Copy for MacAddress<'a>
Auto Trait Implementations§
impl<'a> Freeze for MacAddress<'a>
impl<'a> RefUnwindSafe for MacAddress<'a>
impl<'a> Send for MacAddress<'a>
impl<'a> Sync for MacAddress<'a>
impl<'a> Unpin for MacAddress<'a>
impl<'a> UnsafeUnpin for MacAddress<'a>
impl<'a> UnwindSafe for MacAddress<'a>
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