pub struct AllowedIp {
pub ipaddr: IpAddr,
pub cidr_mask: u8,
}
Fields§
§ipaddr: IpAddr
§cidr_mask: u8
Trait Implementations§
impl Eq for AllowedIp
impl StructuralPartialEq for AllowedIp
Auto Trait Implementations§
impl Freeze for AllowedIp
impl RefUnwindSafe for AllowedIp
impl Send for AllowedIp
impl Sync for AllowedIp
impl Unpin for AllowedIp
impl UnwindSafe for AllowedIp
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