pub struct ExtensionLeafRelation { /* private fields */ }Implementations§
Source§impl ExtensionLeafRelation
impl ExtensionLeafRelation
pub fn message_types<T>(self, value: T) -> ExtensionLeafRelation
pub fn metadata<T>(self, value: T) -> ExtensionLeafRelation
pub fn relation<T>(self, value: T) -> ExtensionLeafRelation
Trait Implementations§
Source§impl Clone for ExtensionLeafRelation
impl Clone for ExtensionLeafRelation
Source§fn clone(&self) -> ExtensionLeafRelation
fn clone(&self) -> ExtensionLeafRelation
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 ExtensionLeafRelation
impl Debug for ExtensionLeafRelation
Source§impl Default for ExtensionLeafRelation
impl Default for ExtensionLeafRelation
Source§fn default() -> ExtensionLeafRelation
fn default() -> ExtensionLeafRelation
Returns the “default value” for a type. Read more
Source§impl From<ExtensionLeafRelation> for ExtensionLeafRelation
impl From<ExtensionLeafRelation> for ExtensionLeafRelation
Source§fn from(value: ExtensionLeafRelation) -> ExtensionLeafRelation
fn from(value: ExtensionLeafRelation) -> ExtensionLeafRelation
Converts to this type from the input type.
Source§impl TryFrom<ExtensionLeafRelation> for ExtensionLeafRelation
impl TryFrom<ExtensionLeafRelation> for ExtensionLeafRelation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: ExtensionLeafRelation,
) -> Result<ExtensionLeafRelation, ConversionError>
fn try_from( value: ExtensionLeafRelation, ) -> Result<ExtensionLeafRelation, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for ExtensionLeafRelation
impl Freeze for ExtensionLeafRelationwhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<Value>: Freeze,
impl Move for ExtensionLeafRelation
impl RefUnwindSafe for ExtensionLeafRelation
impl Send for ExtensionLeafRelation
impl Sync for ExtensionLeafRelation
impl Unpin for ExtensionLeafRelation
impl UnsafeUnpin for ExtensionLeafRelationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
impl UnwindSafe for ExtensionLeafRelation
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