pub struct IRFile {
pub format_version: FormatVersion,
pub distribution: Distribution,
pub metadata: Option<Box<DocumentMeta>>,
}Expand description
Top-level IR file structure.
formatVersion comes first and distribution second. The optional $meta
belongs to the document in the proposed 4.1.0 profile; a document tree stores it
in its manifest.
Fields§
§format_version: FormatVersion§distribution: Distribution§metadata: Option<Box<DocumentMeta>>Document-owned 4.1.0 metadata, separate from node-local carriers.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IRFile
impl<'de> Deserialize<'de> for IRFile
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
impl StructuralPartialEq for IRFile
Auto Trait Implementations§
impl Freeze for IRFile
impl RefUnwindSafe for IRFile
impl Send for IRFile
impl Sync for IRFile
impl Unpin for IRFile
impl UnsafeUnpin for IRFile
impl UnwindSafe for IRFile
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