pub struct GpcasFile {
pub identifier: String,
pub version: usize,
pub content: Vec<u8>,
}Expand description
The representation and structure of a gpcas file. Wraps the content behind a header.
Fields§
§identifier: StringIdentification string of the file type.
version: usizeThe version of the content structure.
content: Vec<u8>The actual, serialized content in form of a GpcasFileStruct.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GpcasFile
impl<'de> Deserialize<'de> for GpcasFile
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 GpcasFile
impl RefUnwindSafe for GpcasFile
impl Send for GpcasFile
impl Sync for GpcasFile
impl Unpin for GpcasFile
impl UnwindSafe for GpcasFile
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