Struct grib::Identification
source · pub struct Identification { /* private fields */ }
Implementations§
source§impl Identification
impl Identification
pub fn from_payload(slice: Box<[u8]>) -> Result<Self, BuildError>
pub fn iter(&self) -> Iter<'_, u8>
sourcepub fn centre_id(&self) -> u16
pub fn centre_id(&self) -> u16
Identification of originating/generating centre (see Common Code Table C-1)
sourcepub fn subcentre_id(&self) -> u16
pub fn subcentre_id(&self) -> u16
Identification of originating/generating sub-centre (allocated by originating/ generating centre)
sourcepub fn master_table_version(&self) -> u8
pub fn master_table_version(&self) -> u8
GRIB Master Tables Version Number (see Code Table 1.0)
sourcepub fn local_table_version(&self) -> u8
pub fn local_table_version(&self) -> u8
GRIB Local Tables Version Number (see Code Table 1.1)
sourcepub fn ref_time_significance(&self) -> u8
pub fn ref_time_significance(&self) -> u8
Significance of Reference Time (see Code Table 1.2)
sourcepub fn prod_status(&self) -> u8
pub fn prod_status(&self) -> u8
Production status of processed data in this GRIB message (see Code Table 1.3)
Trait Implementations§
source§impl Clone for Identification
impl Clone for Identification
source§fn clone(&self) -> Identification
fn clone(&self) -> Identification
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Identification
impl Debug for Identification
source§impl PartialEq for Identification
impl PartialEq for Identification
source§fn eq(&self, other: &Identification) -> bool
fn eq(&self, other: &Identification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Identification
impl StructuralPartialEq for Identification
Auto Trait Implementations§
impl Freeze for Identification
impl RefUnwindSafe for Identification
impl Send for Identification
impl Sync for Identification
impl Unpin for Identification
impl UnwindSafe for Identification
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)