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 · 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.