pub struct CastExpression { /* private fields */ }Implementations§
Source§impl CastExpression
impl CastExpression
pub fn expression<T>(self, value: T) -> CastExpression
pub fn failure_options<T>(self, value: T) -> CastExpressionwhere
T: TryInto<Option<Vec<CastExpressionFailureOptionsItem>>>,
<T as TryInto<Option<Vec<CastExpressionFailureOptionsItem>>>>::Error: Display,
pub fn metadata<T>(self, value: T) -> CastExpression
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 (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 CastExpression
impl Debug for CastExpression
Source§impl Default for CastExpression
impl Default for CastExpression
Source§fn default() -> CastExpression
fn default() -> CastExpression
Returns the “default value” for a type. Read more
Source§impl From<CastExpression> for CastExpression
impl From<CastExpression> for CastExpression
Source§fn from(value: CastExpression) -> CastExpression
fn from(value: CastExpression) -> CastExpression
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<CastExpression, ConversionError>
fn try_from(value: CastExpression) -> Result<CastExpression, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for CastExpression
impl Freeze for CastExpressionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<CastExpressionFailureOptionsItem>: Freeze,
impl Move for CastExpression
impl RefUnwindSafe for CastExpression
impl Send for CastExpression
impl Sync for CastExpression
impl Unpin for CastExpression
impl UnsafeUnpin for CastExpressionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<CastExpressionFailureOptionsItem>: UnsafeUnpin,
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