pub struct StructAccessor<'a> { /* private fields */ }Expand description
Accessor for struct operations on a Series.
Created by Series::struct(). Values are currently represented as UTF-8
JSON objects. Rust callers use series.r#struct().
Implementations§
Source§impl StructAccessor<'_>
impl StructAccessor<'_>
Sourcepub fn series_name(&self) -> &str
pub fn series_name(&self) -> &str
Return the owning Series name for diagnostics.
Sourcepub fn is_supported(&self) -> bool
pub fn is_supported(&self) -> bool
Whether every non-missing value can be interpreted as a struct.
Sourcepub fn unsupported_reason(&self) -> String
pub fn unsupported_reason(&self) -> String
Typed explanation for fail-closed struct operations.
Sourcepub fn field_names(&self) -> Result<Vec<String>, FrameError>
pub fn field_names(&self) -> Result<Vec<String>, FrameError>
Return the deterministic union of field names across non-missing rows.
Auto Trait Implementations§
impl<'a> Freeze for StructAccessor<'a>
impl<'a> RefUnwindSafe for StructAccessor<'a>
impl<'a> Send for StructAccessor<'a>
impl<'a> Sync for StructAccessor<'a>
impl<'a> Unpin for StructAccessor<'a>
impl<'a> UnsafeUnpin for StructAccessor<'a>
impl<'a> UnwindSafe for StructAccessor<'a>
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