pub struct SetRelation {
pub metadata: Map<String, Value>,
pub operations: Option<Vec<SetRelationOperationsItem>>,
pub relation: Value,
}Expand description
SetRelation
Fields§
§metadata: Map<String, Value>Arbitrary data created by the dialect author.
operations: Option<Vec<SetRelationOperationsItem>>The list of valid set operations used by a set relation.
relation: ValueImplementations§
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 (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 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<SetRelation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SetRelation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SetRelation> for DialectSupportedRelationsItem
impl From<SetRelation> for DialectSupportedRelationsItem
Source§fn from(value: SetRelation) -> DialectSupportedRelationsItem
fn from(value: SetRelation) -> DialectSupportedRelationsItem
Converts to this type from the input type.
Source§impl From<SetRelation> for SetRelation
impl From<SetRelation> for SetRelation
Source§fn from(value: SetRelation) -> SetRelation
fn from(value: SetRelation) -> SetRelation
Converts to this type from the input type.
Source§impl PartialEq for SetRelation
impl PartialEq for SetRelation
Source§impl Serialize for SetRelation
impl Serialize for SetRelation
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 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<SetRelation, ConversionError>
fn try_from(value: SetRelation) -> Result<SetRelation, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for SetRelation
impl Freeze for SetRelationwhere
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<SetRelationOperationsItem>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
impl Move for SetRelation
impl RefUnwindSafe for SetRelation
impl Send for SetRelation
impl Sync for SetRelation
impl Unpin for SetRelation
impl UnsafeUnpin for SetRelationwhere
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<SetRelationOperationsItem>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
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