pub struct SortRelation {
pub metadata: Map<String, Value>,
pub relation: Value,
}Expand description
SortRelation
Fields§
§metadata: Map<String, Value>Arbitrary data created by the dialect author.
relation: ValueImplementations§
Source§impl SortRelation
impl SortRelation
pub fn builder() -> SortRelation
Trait Implementations§
Source§impl Clone for SortRelation
impl Clone for SortRelation
Source§fn clone(&self) -> SortRelation
fn clone(&self) -> SortRelation
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 SortRelation
impl Debug for SortRelation
Source§impl<'de> Deserialize<'de> for SortRelation
impl<'de> Deserialize<'de> for SortRelation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SortRelation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SortRelation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SortRelation> for DialectSupportedRelationsItem
impl From<SortRelation> for DialectSupportedRelationsItem
Source§fn from(value: SortRelation) -> DialectSupportedRelationsItem
fn from(value: SortRelation) -> DialectSupportedRelationsItem
Converts to this type from the input type.
Source§impl From<SortRelation> for SortRelation
impl From<SortRelation> for SortRelation
Source§fn from(value: SortRelation) -> SortRelation
fn from(value: SortRelation) -> SortRelation
Converts to this type from the input type.
Source§impl PartialEq for SortRelation
impl PartialEq for SortRelation
Source§impl Serialize for SortRelation
impl Serialize for SortRelation
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 SortRelation
Source§impl TryFrom<SortRelation> for SortRelation
impl TryFrom<SortRelation> for SortRelation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SortRelation) -> Result<SortRelation, ConversionError>
fn try_from(value: SortRelation) -> Result<SortRelation, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for SortRelation
impl Freeze for SortRelationwhere
*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,
impl Move for SortRelation
impl RefUnwindSafe for SortRelation
impl Send for SortRelation
impl Sync for SortRelation
impl Unpin for SortRelation
impl UnsafeUnpin for SortRelationwhere
*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,
impl UnwindSafe for SortRelation
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