[][src]Struct gbx_header::gbx::GBX

pub struct GBX {
    pub origin: GBXOrigin,
    pub filesize: usize,
    pub thumbnail: Option<JPEGData>,
    pub bin_header: GBXBinaryHeader,
    pub challenge_header: Option<ChallengeXMLHeader>,
    pub replay_header: Option<ReplayXMLHeader>,
    pub header_xml: String,
    // some fields omitted

Container for any data extracted from a GBX file.

See parse_from_file and parse_from_buffer. Serde is not used internally to Deserialize, but added to enable easier integration of these datatypes in other applications.


origin: GBXOriginfilesize: usizethumbnail: Option<JPEGData>bin_header: GBXBinaryHeaderchallenge_header: Option<ChallengeXMLHeader>replay_header: Option<ReplayXMLHeader>header_xml: String

Trait Implementations

impl Debug for GBX[src]

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

impl Display for GBX[src]

impl Serialize for GBX[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.