[][src]Struct maxminddb::Metadata

pub struct Metadata {
    pub binary_format_major_version: u16,
    pub binary_format_minor_version: u16,
    pub build_epoch: u64,
    pub database_type: String,
    pub description: BTreeMap<String, String>,
    pub ip_version: u16,
    pub languages: Vec<String>,
    pub node_count: u32,
    pub record_size: u16,
}

Fields

binary_format_major_version: u16binary_format_minor_version: u16build_epoch: u64database_type: Stringdescription: BTreeMap<String, String>ip_version: u16languages: Vec<String>node_count: u32record_size: u16

Trait Implementations

impl Debug for Metadata[src]

impl<'de> Deserialize<'de> for Metadata[src]

Auto Trait Implementations

impl RefUnwindSafe for Metadata[src]

impl Send for Metadata[src]

impl Sync for Metadata[src]

impl Unpin for Metadata[src]

impl UnwindSafe for Metadata[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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.