pub struct NestedExpression { /* private fields */ }Implementations§
Source§impl NestedExpression
impl NestedExpression
pub fn expression<T>(self, value: T) -> NestedExpression
pub fn metadata<T>(self, value: T) -> NestedExpression
pub fn nested_types<T>(self, value: T) -> NestedExpressionwhere
T: TryInto<Vec<NestedExpressionNestedTypesItem>>,
<T as TryInto<Vec<NestedExpressionNestedTypesItem>>>::Error: Display,
Trait Implementations§
Source§impl Clone for NestedExpression
impl Clone for NestedExpression
Source§fn clone(&self) -> NestedExpression
fn clone(&self) -> NestedExpression
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 NestedExpression
impl Debug for NestedExpression
Source§impl Default for NestedExpression
impl Default for NestedExpression
Source§fn default() -> NestedExpression
fn default() -> NestedExpression
Returns the “default value” for a type. Read more
Source§impl From<NestedExpression> for NestedExpression
impl From<NestedExpression> for NestedExpression
Source§fn from(value: NestedExpression) -> NestedExpression
fn from(value: NestedExpression) -> NestedExpression
Converts to this type from the input type.
Source§impl TryFrom<NestedExpression> for NestedExpression
impl TryFrom<NestedExpression> for NestedExpression
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: NestedExpression,
) -> Result<NestedExpression, ConversionError>
fn try_from( value: NestedExpression, ) -> Result<NestedExpression, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for NestedExpression
impl Freeze for NestedExpressionwhere
*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<NestedExpressionNestedTypesItem>: Freeze,
impl Move for NestedExpression
impl RefUnwindSafe for NestedExpression
impl Send for NestedExpression
impl Sync for NestedExpression
impl Unpin for NestedExpression
impl UnsafeUnpin for NestedExpressionwhere
*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<NestedExpressionNestedTypesItem>: UnsafeUnpin,
impl UnwindSafe for NestedExpression
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