[][src]Struct rsef_rs::Record

pub struct Record {
    pub registry: String,
    pub organization: String,
    pub res_type: Type,
    pub start: String,
    pub value: u32,
    pub date: String,
    pub status: String,
    pub id: String,
}

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

impl Debug for Record[src]

Auto Trait Implementations

impl Send for Record

impl Sync for Record

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]