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