[−][src]Struct rsef_rs::Record
Represents an record about either an ASN, IPv4 prefix or IPv6 prefix.
Fields
registry: String
The registry that this record belongs to.
organization: String
ISO 3166 2-letter code of the organization to which the allocation or assignment was made.
res_type: Type
Type of Internet number resource represented in this record.
start: String
For IPv4 or IPv6, the base of the IP prefix. For asn the ASN number.
value: u32
For IPv4 the amount of hosts in this prefix. For ipv6 the CIDR prefix. For asn the amount of ASN numbers.
date: String
The date on which this allocation was made in YYYYMMDD format.
status: String
Type of allocation from the set.
id: String
The ID handle of this object. Often a reference to an organisation (which is also related to an AS)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,