pub struct DdlRelation {
pub metadata: Map<String, Value>,
pub relation: Value,
pub write_types: Option<Vec<DdlRelationWriteTypesItem>>,
}Expand description
DdlRelation
Fields§
§metadata: Map<String, Value>Arbitrary data created by the dialect author.
relation: Value§write_types: Option<Vec<DdlRelationWriteTypesItem>>The list of valid types a ddl relation can operate on.
Implementations§
Source§impl DdlRelation
impl DdlRelation
pub fn builder() -> DdlRelation
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<'de> Deserialize<'de> for DdlRelation
impl<'de> Deserialize<'de> for DdlRelation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DdlRelation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DdlRelation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<DdlRelation> for DialectSupportedRelationsItem
impl From<DdlRelation> for DialectSupportedRelationsItem
Source§fn from(value: DdlRelation) -> DialectSupportedRelationsItem
fn from(value: DdlRelation) -> DialectSupportedRelationsItem
Converts to this type from the input type.
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 PartialEq for DdlRelation
impl PartialEq for DdlRelation
Source§impl Serialize for DdlRelation
impl Serialize for DdlRelation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DdlRelation
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