pub struct ExtensionLeafRelation {
pub message_types: Vec<String>,
pub metadata: Map<String, Value>,
pub relation: Value,
}Expand description
ExtensionLeafRelation
Fields§
§message_types: Vec<String>The list of supported message types. Use the URI (e.g. type.googleapis.com/google.profile.Person) that is related to the detail field.
metadata: Map<String, Value>Arbitrary data created by the dialect author.
relation: ValueImplementations§
Source§impl ExtensionLeafRelation
impl ExtensionLeafRelation
pub fn builder() -> 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<'de> Deserialize<'de> for ExtensionLeafRelation
impl<'de> Deserialize<'de> for ExtensionLeafRelation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExtensionLeafRelation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExtensionLeafRelation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ExtensionLeafRelation> for DialectSupportedRelationsItem
impl From<ExtensionLeafRelation> for DialectSupportedRelationsItem
Source§fn from(value: ExtensionLeafRelation) -> DialectSupportedRelationsItem
fn from(value: ExtensionLeafRelation) -> DialectSupportedRelationsItem
Converts to this type from the input type.
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 PartialEq for ExtensionLeafRelation
impl PartialEq for ExtensionLeafRelation
Source§impl Serialize for ExtensionLeafRelation
impl Serialize for ExtensionLeafRelation
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 ExtensionLeafRelation
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,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<u8>: 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,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<u8>: 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