pub struct IpPrefix {
pub address_family: AddressFamilyId,
pub prefix: Vec<u8>,
pub length: u8,
}Expand description
IpPrefix represents some IP address prefix, for a specific AddressFamilyId.
Fields§
§address_family: AddressFamilyId§prefix: Vec<u8>§length: u8Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IpPrefix
impl<'de> Deserialize<'de> for IpPrefix
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
impl Eq for IpPrefix
impl StructuralPartialEq for IpPrefix
Auto Trait Implementations§
impl Freeze for IpPrefix
impl RefUnwindSafe for IpPrefix
impl Send for IpPrefix
impl Sync for IpPrefix
impl Unpin for IpPrefix
impl UnsafeUnpin for IpPrefix
impl UnwindSafe for IpPrefix
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