[][src]Struct rsef_rs::Version

pub struct Version {
    pub version: f64,
    pub registry: String,
    pub serial: String,
    pub records: u32,
    pub start_date: String,
    pub end_date: String,
    pub utc_offset: String,
}

Represents an RSEF version line.

Fields

version: f64

The version of the RIR Statistics Exchange Format.

registry: String

The registry that this record belongs to.

serial: String

Serial number of this file (within the creating RIR series).

records: u32

Number of records in file, excluding blank lines, summary lines, the version line and comments.

start_date: String

Start date of time period, in yyyymmdd format.

end_date: String

End date of period, in yyyymmdd format.

utc_offset: String

Offset from UTC (+/- hours) of local RIR producing file.

Trait Implementations

impl Clone for Version[src]

impl Debug for Version[src]

Auto Trait Implementations

impl RefUnwindSafe for Version

impl Send for Version

impl Sync for Version

impl Unpin for Version

impl UnwindSafe for Version

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.