pub struct Grib2IndicatorSection {
pub section_number: u8,
pub length: u8,
pub grib_encoded: String,
pub discipline: Grib2Table0_0,
pub grib_edition: u8,
pub grib_length: u64,
}Expand description
§SECTION 0 - INDICATOR SECTION
§Description
This section serves to identify the start of the record in a human readable form, indicate the total length of the message, and indicate the Edition number of GRIB used to construct or encode the message. For GRIB2, this section is always 16 octets long.
§Links
Fields§
§section_number: u8Number of GRIB section
length: u8Length of GRIB section (Always 16 for Section 0)
grib_encoded: StringGRIB string encoded
discipline: Grib2Table0_0Discipline Table 0.0
grib_edition: u8Edition number - 2 for GRIB2
grib_length: u64Total length of GRIB message in octets (All sections)
Implementations§
Trait Implementations§
Source§impl Clone for Grib2IndicatorSection
impl Clone for Grib2IndicatorSection
Source§fn clone(&self) -> Grib2IndicatorSection
fn clone(&self) -> Grib2IndicatorSection
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Grib2IndicatorSection
impl Debug for Grib2IndicatorSection
Source§impl PartialEq for Grib2IndicatorSection
impl PartialEq for Grib2IndicatorSection
impl Eq for Grib2IndicatorSection
impl StructuralPartialEq for Grib2IndicatorSection
Auto Trait Implementations§
impl Freeze for Grib2IndicatorSection
impl RefUnwindSafe for Grib2IndicatorSection
impl Send for Grib2IndicatorSection
impl Sync for Grib2IndicatorSection
impl Unpin for Grib2IndicatorSection
impl UnwindSafe for Grib2IndicatorSection
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more