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,
/* private fields */
}
Expand description
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.
Fields§
§origin: GBXOrigin
§filesize: usize
§thumbnail: Option<JPEGData>
§bin_header: GBXBinaryHeader
§challenge_header: Option<ChallengeXMLHeader>
§replay_header: Option<ReplayXMLHeader>
§header_xml: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GBX
impl<'de> Deserialize<'de> for GBX
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GBX
impl RefUnwindSafe for GBX
impl Send for GBX
impl Sync for GBX
impl Unpin for GBX
impl UnwindSafe for GBX
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more