pub struct CastExpression { /* private fields */ }
Implementations§
Source§impl CastExpression
impl CastExpression
pub fn expression<T>(self, value: T) -> Self
pub fn failure_options<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for CastExpression
impl Clone for CastExpression
Source§fn clone(&self) -> CastExpression
fn clone(&self) -> CastExpression
Returns a duplicate of the value. Read more
1.0.0 · 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 CastExpression
impl Debug for CastExpression
Source§impl Default for CastExpression
impl Default for CastExpression
Source§impl From<CastExpression> for CastExpression
impl From<CastExpression> for CastExpression
Source§fn from(value: CastExpression) -> Self
fn from(value: CastExpression) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CastExpression> for CastExpression
impl TryFrom<CastExpression> for CastExpression
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CastExpression) -> Result<Self, ConversionError>
fn try_from(value: CastExpression) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CastExpression
impl RefUnwindSafe for CastExpression
impl Send for CastExpression
impl Sync for CastExpression
impl Unpin for CastExpression
impl UnwindSafe for CastExpression
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