pub enum Column {
Int(Vec<Option<i64>>),
Bool(Vec<Option<bool>>),
Float(Vec<Option<f64>>),
String(Vec<Option<String>>),
}Expand description
Represents a column of parsed data from a SoR file.
Variants§
Int(Vec<Option<i64>>)
A Column consisting of optional i64s.
Bool(Vec<Option<bool>>)
A Column consisting of optional bools.
Float(Vec<Option<f64>>)
A Column consisting of optional f64s.
String(Vec<Option<String>>)
A Column consisting of optional Strings.
Implementations§
Trait Implementations§
Source§impl DeepSizeOf for Column
impl DeepSizeOf for Column
Source§fn deep_size_of_children(&self, context: &mut Context) -> usize
fn deep_size_of_children(&self, context: &mut Context) -> usize
Returns an estimation of the heap-managed storage of this object.
This does not include the size of the object itself. Read more
Source§fn deep_size_of(&self) -> usize
fn deep_size_of(&self) -> usize
Returns an estimation of a total size of memory owned by the
object, including heap-managed storage. Read more
Source§fn recurse_deep_size_of(&self, context: &mut Context) -> usize
fn recurse_deep_size_of(&self, context: &mut Context) -> usize
👎Deprecated since 0.1.1: use
std::mem::size_of_val(val) + val.deep_size_of_children() insteadDeprecated: equivalent to
std::mem::size_of_val(val) + val.deep_size_of_children()Source§impl<'de> Deserialize<'de> for Column
impl<'de> Deserialize<'de> for Column
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Column, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Column, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Column> for LocalDataFrame
impl From<Column> for LocalDataFrame
Source§impl Serialize for Column
impl Serialize for Column
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 Column
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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