#[non_exhaustive]pub enum RawRdValue {
Null,
Integer(Vec<Option<i32>>),
Logical(Vec<Option<bool>>),
Real(Vec<RawRdReal>),
Character(Vec<Option<String>>),
List(Vec<RawRdObject>),
Symbol(String),
Persisted(Vec<Option<String>>),
Environment(RawRdEnvironment),
}Expand description
The value of a recursively preserved raw object.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Null
R’s NULL value.
Integer(Vec<Option<i32>>)
An integer vector; None entries represent NA.
Logical(Vec<Option<bool>>)
A logical vector; None entries represent NA.
Real(Vec<RawRdReal>)
A real vector with explicit representations for R’s special values.
Character(Vec<Option<String>>)
A character vector; None entries represent NA.
List(Vec<RawRdObject>)
A list whose elements retain their own attributes.
Symbol(String)
A symbol name.
Persisted(Vec<Option<String>>)
The string payload of a persisted reference.
Environment(RawRdEnvironment)
An opaque environment handle.
Trait Implementations§
Source§impl Clone for RawRdValue
impl Clone for RawRdValue
Source§fn clone(&self) -> RawRdValue
fn clone(&self) -> RawRdValue
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 RawRdValue
impl Debug for RawRdValue
Source§impl<'de> Deserialize<'de> for RawRdValue
impl<'de> Deserialize<'de> for RawRdValue
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 RawRdValue
impl PartialEq for RawRdValue
Source§impl Serialize for RawRdValue
impl Serialize for RawRdValue
impl StructuralPartialEq for RawRdValue
Auto Trait Implementations§
impl Freeze for RawRdValue
impl RefUnwindSafe for RawRdValue
impl Send for RawRdValue
impl Sync for RawRdValue
impl Unpin for RawRdValue
impl UnsafeUnpin for RawRdValue
impl UnwindSafe for RawRdValue
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