pub struct NumericTensorBlock {
pub block_id: String,
pub representation_id: RepresentationId,
pub batch_container: String,
pub observation_ids: Vec<ObservationId>,
pub sample_ids: Vec<SampleId>,
pub shape: Vec<usize>,
pub values: Vec<f64>,
pub presence_mask: Option<Vec<bool>>,
pub validity_mask: Option<Vec<bool>>,
pub feature_names: Option<Vec<String>>,
}Fields§
§block_id: String§representation_id: RepresentationId§batch_container: String§observation_ids: Vec<ObservationId>§sample_ids: Vec<SampleId>§shape: Vec<usize>§values: Vec<f64>§presence_mask: Option<Vec<bool>>§validity_mask: Option<Vec<bool>>§feature_names: Option<Vec<String>>Trait Implementations§
Source§impl Clone for NumericTensorBlock
impl Clone for NumericTensorBlock
Source§fn clone(&self) -> NumericTensorBlock
fn clone(&self) -> NumericTensorBlock
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 moreSource§impl Debug for NumericTensorBlock
impl Debug for NumericTensorBlock
Source§impl<'de> Deserialize<'de> for NumericTensorBlock
impl<'de> Deserialize<'de> for NumericTensorBlock
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NumericTensorBlock, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NumericTensorBlock, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NumericTensorBlock
impl PartialEq for NumericTensorBlock
Source§fn eq(&self, other: &NumericTensorBlock) -> bool
fn eq(&self, other: &NumericTensorBlock) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NumericTensorBlock
impl Serialize for NumericTensorBlock
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NumericTensorBlock
Auto Trait Implementations§
impl Freeze for NumericTensorBlock
impl RefUnwindSafe for NumericTensorBlock
impl Send for NumericTensorBlock
impl Sync for NumericTensorBlock
impl Unpin for NumericTensorBlock
impl UnsafeUnpin for NumericTensorBlock
impl UnwindSafe for NumericTensorBlock
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