pub struct ModelGridSpec<'a> {
pub model_uri: &'a str,
pub model_version: &'a str,
pub discretization: Option<&'a str>,
pub component_offsets_xyz: &'a [f64],
pub component_time_offset_num: &'a [i64],
pub component_time_offset_den: &'a [u64],
pub timestep: Option<RationalRate>,
pub tolerance_abs: Option<f64>,
pub tolerance_rel: Option<f64>,
pub tensor_shape: &'a [u64],
pub component_names: &'a str,
}Expand description
Model & tensor grid descriptor (Schema 205).
Fields§
§model_uri: &'a str§model_version: &'a str§discretization: Option<&'a str>§component_offsets_xyz: &'a [f64]§component_time_offset_num: &'a [i64]§component_time_offset_den: &'a [u64]§timestep: Option<RationalRate>§tolerance_abs: Option<f64>§tolerance_rel: Option<f64>§tensor_shape: &'a [u64]§component_names: &'a strTrait Implementations§
Source§impl<'a> Clone for ModelGridSpec<'a>
impl<'a> Clone for ModelGridSpec<'a>
Auto Trait Implementations§
impl<'a> Freeze for ModelGridSpec<'a>
impl<'a> RefUnwindSafe for ModelGridSpec<'a>
impl<'a> Send for ModelGridSpec<'a>
impl<'a> Sync for ModelGridSpec<'a>
impl<'a> Unpin for ModelGridSpec<'a>
impl<'a> UnsafeUnpin for ModelGridSpec<'a>
impl<'a> UnwindSafe for ModelGridSpec<'a>
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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