pub struct DdlRelation {
pub relation: Value,
pub write_types: Option<Vec<DdlRelationWriteTypesItem>>,
}
Expand description
DdlRelation
JSON schema
{
"type": "object",
"required": [
"relation"
],
"properties": {
"relation": {
"const": "DDL"
},
"write_types": {
"description": "The list of valid types a ddl relation can operate on.",
"type": "array",
"items": {
"enum": [
"NAMED_OBJECT",
"EXTENSION_OBJECT"
]
},
"uniqueItems": true
}
},
"additionalProperties": false
}
Fields§
§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 · 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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&DdlRelation> for DdlRelation
impl From<&DdlRelation> for DdlRelation
Source§fn from(value: &DdlRelation) -> Self
fn from(value: &DdlRelation) -> Self
Converts to this type from the input type.
Source§impl From<DdlRelation> for DdlRelation
impl From<DdlRelation> for DdlRelation
Source§fn from(value: DdlRelation) -> Self
fn from(value: DdlRelation) -> Self
Converts to this type from the input type.
Source§impl From<DdlRelation> for DialectSupportedRelationsItem
impl From<DdlRelation> for DialectSupportedRelationsItem
Source§fn from(value: DdlRelation) -> Self
fn from(value: DdlRelation) -> Self
Converts to this type from the input type.
Source§impl Serialize for DdlRelation
impl Serialize 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<Self, ConversionError>
fn try_from(value: DdlRelation) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DdlRelation
impl RefUnwindSafe for DdlRelation
impl Send for DdlRelation
impl Sync for DdlRelation
impl Unpin for DdlRelation
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