pub struct ConfigContext(Context);Expand description
A thin wrapper around Context to allow for config specific serialization.
Tuple Fields§
§0: ContextTrait Implementations§
Source§impl Clone for ConfigContext
impl Clone for ConfigContext
Source§fn clone(&self) -> ConfigContext
fn clone(&self) -> ConfigContext
Returns a duplicate 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 ConfigContext
impl Debug for ConfigContext
Source§impl<'de> Deserialize<'de> for ConfigContext
impl<'de> Deserialize<'de> for ConfigContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ConfigContext> for String
impl From<ConfigContext> for String
Source§fn from(value: ConfigContext) -> Self
fn from(value: ConfigContext) -> Self
Converts to this type from the input type.
Source§impl From<Context> for ConfigContext
impl From<Context> for ConfigContext
Source§impl FromStr for ConfigContext
impl FromStr for ConfigContext
Source§impl Serialize for ConfigContext
impl Serialize for ConfigContext
Auto Trait Implementations§
impl Freeze for ConfigContext
impl RefUnwindSafe for ConfigContext
impl Send for ConfigContext
impl Sync for ConfigContext
impl Unpin for ConfigContext
impl UnwindSafe for ConfigContext
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