pub struct NetworkGroup {
pub version: u32,
pub model: String,
pub product: String,
pub run_time: String,
pub run_time_seconds: i64,
pub unit_seconds: u32,
pub offsets: Vec<u16>,
pub geometry: NetworkGeometry,
pub variable: VariableMetadata,
/* private fields */
}Expand description
A network store’s group document: its xue_network block, validated.
Fields§
§version: u32§model: String§product: String§run_time: StringThe cycle of a forecast, the first frame of an analysis window.
run_time_seconds: i64run_time in Unix seconds.
unit_seconds: u32§offsets: Vec<u16>The materialized frame-offset axis, in unit_seconds, strictly
ascending.
geometry: NetworkGeometry§variable: VariableMetadataImplementations§
Source§impl NetworkGroup
impl NetworkGroup
pub fn frame_count(&self) -> u32
Sourcepub fn frame_times(&self) -> Vec<i64>
pub fn frame_times(&self) -> Vec<i64>
Every frame’s valid time, Unix seconds UTC.
Trait Implementations§
Source§impl Clone for NetworkGroup
impl Clone for NetworkGroup
Auto Trait Implementations§
impl Forget for NetworkGroup
impl Freeze for NetworkGroupwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<u16>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for NetworkGroup
impl RefUnwindSafe for NetworkGroup
impl Send for NetworkGroup
impl Sync for NetworkGroup
impl Unpin for NetworkGroup
impl UnsafeUnpin for NetworkGroupwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<u16>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for NetworkGroup
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