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