pub struct EncapEntry {
pub gateway: Ipv4Addr,
pub ty: String,
pub network: Ipv4Addr,
pub mask_len: u8,
pub title: String,
pub owner: String,
pub updated: String,
}Expand description
Describes an encapsulation entry
Fields§
§gateway: Ipv4AddrPublic IPv4 address of the gateway
ty: StringType of encapsulation (currently only ‘IPIP’ will appear here)
network: Ipv4AddrNetwork address of the route being announced by this gateway.
mask_len: u8Mask length of the network being announced
title: StringDescription of the gateway as supplied by the owner.
owner: StringCallsign of the owner / person responsible for this gateway.
updated: StringDate/time this gateway’s data was last altered.
Trait Implementations§
Source§impl Clone for EncapEntry
impl Clone for EncapEntry
Source§fn clone(&self) -> EncapEntry
fn clone(&self) -> EncapEntry
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 Debug for EncapEntry
impl Debug for EncapEntry
Source§impl<'de> Deserialize<'de> for EncapEntry
impl<'de> Deserialize<'de> for EncapEntry
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 PartialEq for EncapEntry
impl PartialEq for EncapEntry
Source§impl Serialize for EncapEntry
impl Serialize for EncapEntry
impl StructuralPartialEq for EncapEntry
Auto Trait Implementations§
impl Freeze for EncapEntry
impl RefUnwindSafe for EncapEntry
impl Send for EncapEntry
impl Sync for EncapEntry
impl Unpin for EncapEntry
impl UnwindSafe for EncapEntry
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