pub struct ReadRelation { /* private fields */ }Implementations§
Source§impl ReadRelation
impl ReadRelation
pub fn metadata<T>(self, value: T) -> ReadRelation
pub fn read_types<T>(self, value: T) -> ReadRelationwhere
T: TryInto<Option<Vec<ReadRelationReadTypesItem>>>,
<T as TryInto<Option<Vec<ReadRelationReadTypesItem>>>>::Error: Display,
pub fn relation<T>(self, value: T) -> 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 Default for ReadRelation
impl Default for ReadRelation
Source§fn default() -> ReadRelation
fn default() -> ReadRelation
Returns the “default value” for a type. Read more
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 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<u8>: Freeze,
PhantomData<ReadRelationReadTypesItem>: 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<u8>: UnsafeUnpin,
PhantomData<ReadRelationReadTypesItem>: 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