pub struct NamedExtension {
pub name: String,
pub extension: Value,
}
Expand description
NamedExtention associates name with extension.
Fields§
§name: String
Name of extension
extension: Value
Additional information for extenders so that reads and writes don’t clobber unknown fields
Trait Implementations§
Source§impl Clone for NamedExtension
impl Clone for NamedExtension
Source§fn clone(&self) -> NamedExtension
fn clone(&self) -> NamedExtension
Returns a copy of the value. Read more
1.0.0 · 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 NamedExtension
impl Debug for NamedExtension
Source§impl<'de> Deserialize<'de> for NamedExtension
impl<'de> Deserialize<'de> for NamedExtension
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NamedExtension, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NamedExtension, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for NamedExtension
impl Serialize for NamedExtension
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
Auto Trait Implementations§
impl Freeze for NamedExtension
impl RefUnwindSafe for NamedExtension
impl Send for NamedExtension
impl Sync for NamedExtension
impl Unpin for NamedExtension
impl UnwindSafe for NamedExtension
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