pub struct SetRelation {
pub operations: Option<Vec<SetRelationOperationsItem>>,
pub relation: Value,
}
Expand description
SetRelation
JSON schema
{
"type": "object",
"required": [
"relation"
],
"properties": {
"operations": {
"description": "The list of valid set operations used by a set relation.",
"type": "array",
"items": {
"enum": [
"MINUS_PRIMARY",
"MINUS_PRIMARY_ALL",
"MINUS_MULTISET",
"INTERSECTION_PRIMARY",
"INTERSECTION_MULTISET",
"INTERSECTION_MULTISET_ALL",
"UNION_DISTINCT",
"UNION_ALL"
]
},
"uniqueItems": true
},
"relation": {
"const": "SET"
}
},
"additionalProperties": false
}
Fields§
§operations: Option<Vec<SetRelationOperationsItem>>
The list of valid set operations used by a set relation.
relation: Value
Implementations§
Source§impl SetRelation
impl SetRelation
pub fn builder() -> SetRelation
Trait Implementations§
Source§impl Clone for SetRelation
impl Clone for SetRelation
Source§fn clone(&self) -> SetRelation
fn clone(&self) -> SetRelation
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 SetRelation
impl Debug for SetRelation
Source§impl<'de> Deserialize<'de> for SetRelation
impl<'de> Deserialize<'de> for SetRelation
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<&SetRelation> for SetRelation
impl From<&SetRelation> for SetRelation
Source§fn from(value: &SetRelation) -> Self
fn from(value: &SetRelation) -> Self
Converts to this type from the input type.
Source§impl From<SetRelation> for DialectSupportedRelationsItem
impl From<SetRelation> for DialectSupportedRelationsItem
Source§fn from(value: SetRelation) -> Self
fn from(value: SetRelation) -> Self
Converts to this type from the input type.
Source§impl From<SetRelation> for SetRelation
impl From<SetRelation> for SetRelation
Source§fn from(value: SetRelation) -> Self
fn from(value: SetRelation) -> Self
Converts to this type from the input type.
Source§impl Serialize for SetRelation
impl Serialize for SetRelation
Source§impl TryFrom<SetRelation> for SetRelation
impl TryFrom<SetRelation> for SetRelation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SetRelation) -> Result<Self, ConversionError>
fn try_from(value: SetRelation) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SetRelation
impl RefUnwindSafe for SetRelation
impl Send for SetRelation
impl Sync for SetRelation
impl Unpin for SetRelation
impl UnwindSafe for SetRelation
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