pub struct LocalParameterEntry<'a> {
pub center_id: u16,
pub subcenter_id: Option<u16>,
pub local_table_version: Option<u8>,
pub discipline: u8,
pub category: u8,
pub number: u8,
pub short_name: &'a str,
pub description: &'a str,
}Expand description
A user-authored or built-in GRIB2 local table entry.
subcenter_id and local_table_version may be None to match any value
for a center, but correctness-sensitive built-in entries should prefer exact
local table versions when known.
Fields§
§center_id: u16§subcenter_id: Option<u16>§local_table_version: Option<u8>§discipline: u8§category: u8§number: u8§short_name: &'a str§description: &'a strTrait Implementations§
Source§impl<'a> Clone for LocalParameterEntry<'a>
impl<'a> Clone for LocalParameterEntry<'a>
Source§fn clone(&self) -> LocalParameterEntry<'a>
fn clone(&self) -> LocalParameterEntry<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for LocalParameterEntry<'a>
Source§impl<'a> Debug for LocalParameterEntry<'a>
impl<'a> Debug for LocalParameterEntry<'a>
impl<'a> Eq for LocalParameterEntry<'a>
Source§impl<'a> PartialEq for LocalParameterEntry<'a>
impl<'a> PartialEq for LocalParameterEntry<'a>
Source§fn eq(&self, other: &LocalParameterEntry<'a>) -> bool
fn eq(&self, other: &LocalParameterEntry<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for LocalParameterEntry<'a>
Auto Trait Implementations§
impl<'a> Freeze for LocalParameterEntry<'a>
impl<'a> RefUnwindSafe for LocalParameterEntry<'a>
impl<'a> Send for LocalParameterEntry<'a>
impl<'a> Sync for LocalParameterEntry<'a>
impl<'a> Unpin for LocalParameterEntry<'a>
impl<'a> UnsafeUnpin for LocalParameterEntry<'a>
impl<'a> UnwindSafe for LocalParameterEntry<'a>
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§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