pub enum ExcelReturnValue {
Number(f64),
Integer(i32),
Boolean(bool),
Error(ExcelError),
Missing,
Empty,
Text(ReturnText),
Array(ExcelReturnArray),
}Expand description
Fully owned logical value offered to the return planner.
Variants§
Number(f64)
A floating-point scalar return.
Integer(i32)
A 32-bit integer scalar return.
Boolean(bool)
A Boolean scalar return.
Error(ExcelError)
A controlled worksheet error return.
Missing
Excel’s omitted/missing return value.
Empty
Excel’s distinct empty (xltypeNil) return value.
Text(ReturnText)
Owned text returned as a counted Excel string.
Array(ExcelReturnArray)
Owned rectangular dynamic-array return data.
Implementations§
Source§impl ExcelReturnValue
impl ExcelReturnValue
Sourcepub fn plan(self) -> Result<ReturnPlan, ReturnError>
pub fn plan(self) -> Result<ReturnPlan, ReturnError>
Validates this value using the default bounded return limits.
Sourcepub fn plan_with_limits(
self,
limits: &ReturnLimits,
) -> Result<ReturnPlan, ReturnError>
pub fn plan_with_limits( self, limits: &ReturnLimits, ) -> Result<ReturnPlan, ReturnError>
Validates this value into pointer-free planning data using limits.
Trait Implementations§
Source§impl Clone for ExcelReturnValue
impl Clone for ExcelReturnValue
Source§impl Debug for ExcelReturnValue
impl Debug for ExcelReturnValue
Source§impl From<&str> for ExcelReturnValue
impl From<&str> for ExcelReturnValue
Source§impl From<ExcelArray> for ExcelReturnValue
impl From<ExcelArray> for ExcelReturnValue
Source§fn from(value: ExcelArray) -> Self
fn from(value: ExcelArray) -> Self
Converts to this type from the input type.
Source§impl From<ExcelString> for ExcelReturnValue
impl From<ExcelString> for ExcelReturnValue
Source§fn from(value: ExcelString) -> Self
fn from(value: ExcelString) -> Self
Converts to this type from the input type.
Source§impl From<ExcelValue> for ExcelReturnValue
impl From<ExcelValue> for ExcelReturnValue
Source§fn from(value: ExcelValue) -> Self
fn from(value: ExcelValue) -> Self
Converts to this type from the input type.
Source§impl From<ReturnText> for ExcelReturnValue
impl From<ReturnText> for ExcelReturnValue
Source§fn from(value: ReturnText) -> Self
fn from(value: ReturnText) -> Self
Converts to this type from the input type.
Source§impl From<String> for ExcelReturnValue
impl From<String> for ExcelReturnValue
Source§impl PartialEq for ExcelReturnValue
impl PartialEq for ExcelReturnValue
impl StructuralPartialEq for ExcelReturnValue
Auto Trait Implementations§
impl Freeze for ExcelReturnValue
impl RefUnwindSafe for ExcelReturnValue
impl Send for ExcelReturnValue
impl Sync for ExcelReturnValue
impl Unpin for ExcelReturnValue
impl UnsafeUnpin for ExcelReturnValue
impl UnwindSafe for ExcelReturnValue
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