#[non_exhaustive]pub struct DataScalarColumn {
pub meta: Option<ScalarMeta>,
pub name: Option<String>,
pub type_: Option<ScalarColumnTypeNumber>,
pub values: Option<Vec<Option<f64>>>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
A column containing the numerical results for a formula or query.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.meta: Option<ScalarMeta>
Metadata for the resulting numerical values.
name: Option<String>
The name referencing the formula or query for this column.
type_: Option<ScalarColumnTypeNumber>
The type of column present for numbers.
values: Option<Vec<Option<f64>>>
The array of numerical values for one formula or query.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl DataScalarColumn
impl DataScalarColumn
pub fn new() -> DataScalarColumn
pub fn meta(self, value: ScalarMeta) -> Self
pub fn name(self, value: String) -> Self
pub fn type_(self, value: ScalarColumnTypeNumber) -> Self
pub fn values(self, value: Vec<Option<f64>>) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for DataScalarColumn
impl Clone for DataScalarColumn
Source§fn clone(&self) -> DataScalarColumn
fn clone(&self) -> DataScalarColumn
Returns a duplicate 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 DataScalarColumn
impl Debug for DataScalarColumn
Source§impl Default for DataScalarColumn
impl Default for DataScalarColumn
Source§impl<'de> Deserialize<'de> for DataScalarColumn
impl<'de> Deserialize<'de> for DataScalarColumn
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DataScalarColumn
impl PartialEq for DataScalarColumn
Source§impl Serialize for DataScalarColumn
impl Serialize for DataScalarColumn
impl StructuralPartialEq for DataScalarColumn
Auto Trait Implementations§
impl Freeze for DataScalarColumn
impl RefUnwindSafe for DataScalarColumn
impl Send for DataScalarColumn
impl Sync for DataScalarColumn
impl Unpin for DataScalarColumn
impl UnwindSafe for DataScalarColumn
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