pub struct SORFile {
pub map: MapBlock,
pub general_parameters: Option<GeneralParametersBlock>,
pub supplier_parameters: Option<SupplierParametersBlock>,
pub fixed_parameters: Option<FixedParametersBlock>,
pub key_events: Option<KeyEvents>,
pub link_parameters: Option<LinkParameters>,
pub data_points: Option<DataPoints>,
pub proprietary_blocks: Vec<ProprietaryBlock>,
}
Expand description
SORFile describes a full SOR file. All blocks except MapBlock are Option types as we cannot guarantee the parser will find them, but many blocks are in fact mandatory in the specification so compliant files will provide them.
Fields
map: MapBlock
general_parameters: Option<GeneralParametersBlock>
supplier_parameters: Option<SupplierParametersBlock>
fixed_parameters: Option<FixedParametersBlock>
key_events: Option<KeyEvents>
link_parameters: Option<LinkParameters>
data_points: Option<DataPoints>
proprietary_blocks: Vec<ProprietaryBlock>
Implementations
Trait Implementations
impl StructuralPartialEq for SORFile
Auto Trait Implementations
impl RefUnwindSafe for SORFile
impl Send for SORFile
impl Sync for SORFile
impl Unpin for SORFile
impl UnwindSafe for SORFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more