[][src]Enum gbx_header::gbx::GBXOrigin

pub enum GBXOrigin {
    File {
        path: String,
    },
    Buffer,
    Unknown,
    Hidden,
}

Stores the source of the GBX struct. By default a GBX struct will be Unknown, the parser methods set the origin field of the GBX struct accordingly. If you don't want to expose this information about your local filesystem remember to overwrite that field.

Variants

File

Fields of File

path: String
Buffer
Unknown
Hidden

Added field to allow hiding the origin (library will never use this)

Trait Implementations

impl Debug for GBXOrigin[src]

impl Default for GBXOrigin[src]

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

impl Display for GBXOrigin[src]

impl Serialize for GBXOrigin[src]

Auto Trait Implementations

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> ToString for T where
    T: Display + ?Sized
[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.