pub struct Ip {
pub address: Addr,
pub cidr: u32,
}
Fields§
§address: Addr
§cidr: u32
Trait Implementations§
source§impl PartialOrd<Ip> for Ip
impl PartialOrd<Ip> for Ip
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Ip
impl StructuralEq for Ip
impl StructuralPartialEq for Ip
Auto Trait Implementations§
impl RefUnwindSafe for Ip
impl Send for Ip
impl Sync for Ip
impl Unpin for Ip
impl UnwindSafe for Ip
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