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