pub struct PermittedMacs(pub Vec<MacAddress>);
Expand description
A list of MAC addresses which are permitted to request a lease.
Tuple Fields§
§0: Vec<MacAddress>
Trait Implementations§
Source§impl Clone for PermittedMacs
impl Clone for PermittedMacs
Source§fn clone(&self) -> PermittedMacs
fn clone(&self) -> PermittedMacs
Returns a copy 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 PermittedMacs
impl Debug for PermittedMacs
Source§impl<'de> Deserialize<'de> for PermittedMacs
impl<'de> Deserialize<'de> for PermittedMacs
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 FidlCompatible<Vec<MacAddress>> for PermittedMacs
impl FidlCompatible<Vec<MacAddress>> for PermittedMacs
type FromError = Infallible
type IntoError = Infallible
fn try_from_fidl(fidl: Vec<MacAddress>) -> Result<Self, Self::FromError>
fn try_into_fidl(self) -> Result<Vec<MacAddress>, Self::IntoError>
Source§impl PartialEq for PermittedMacs
impl PartialEq for PermittedMacs
Source§impl Serialize for PermittedMacs
impl Serialize for PermittedMacs
impl StructuralPartialEq for PermittedMacs
Auto Trait Implementations§
impl Freeze for PermittedMacs
impl RefUnwindSafe for PermittedMacs
impl Send for PermittedMacs
impl Sync for PermittedMacs
impl Unpin for PermittedMacs
impl UnwindSafe for PermittedMacs
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, C> FromFidlExt<F> for Cwhere
C: FidlCompatible<F, FromError = Infallible>,
impl<F, C> FromFidlExt<F> for Cwhere
C: FidlCompatible<F, FromError = Infallible>,
§impl<T> IntoAny for T
impl<T> IntoAny for T
§impl<F, C> IntoFidlExt<F> for Cwhere
C: FidlCompatible<F, IntoError = Infallible>,
impl<F, C> IntoFidlExt<F> for Cwhere
C: FidlCompatible<F, IntoError = Infallible>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.