pub struct ExpandRelation { /* private fields */ }Implementations§
Source§impl ExpandRelation
impl ExpandRelation
pub fn field_types<T>(self, value: T) -> ExpandRelationwhere
T: TryInto<Option<Vec<ExpandRelationFieldTypesItem>>>,
<T as TryInto<Option<Vec<ExpandRelationFieldTypesItem>>>>::Error: Display,
pub fn metadata<T>(self, value: T) -> ExpandRelation
pub fn relation<T>(self, value: T) -> ExpandRelation
Trait Implementations§
Source§impl Clone for ExpandRelation
impl Clone for ExpandRelation
Source§fn clone(&self) -> ExpandRelation
fn clone(&self) -> ExpandRelation
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 ExpandRelation
impl Debug for ExpandRelation
Source§impl Default for ExpandRelation
impl Default for ExpandRelation
Source§fn default() -> ExpandRelation
fn default() -> ExpandRelation
Returns the “default value” for a type. Read more
Source§impl From<ExpandRelation> for ExpandRelation
impl From<ExpandRelation> for ExpandRelation
Source§fn from(value: ExpandRelation) -> ExpandRelation
fn from(value: ExpandRelation) -> ExpandRelation
Converts to this type from the input type.
Source§impl TryFrom<ExpandRelation> for ExpandRelation
impl TryFrom<ExpandRelation> for ExpandRelation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ExpandRelation) -> Result<ExpandRelation, ConversionError>
fn try_from(value: ExpandRelation) -> Result<ExpandRelation, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for ExpandRelation
impl Freeze for ExpandRelationwhere
*const u8 is !null: Freeze,
PhantomData<ExpandRelationFieldTypesItem>: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<Value>: Freeze,
impl Move for ExpandRelation
impl RefUnwindSafe for ExpandRelation
impl Send for ExpandRelation
impl Sync for ExpandRelation
impl Unpin for ExpandRelation
impl UnsafeUnpin for ExpandRelationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ExpandRelationFieldTypesItem>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
impl UnwindSafe for ExpandRelation
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