pub struct Context<Cnf: Configurable> {
pub settings: Cnf,
}
Fields§
§settings: Cnf
Implementations§
Trait Implementations§
Source§impl<'de, Cnf> Deserialize<'de> for Context<Cnf>where
Cnf: Deserialize<'de> + Configurable,
impl<'de, Cnf> Deserialize<'de> for Context<Cnf>where
Cnf: Deserialize<'de> + Configurable,
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<Cnf: Configurable> Display for Context<Cnf>
impl<Cnf: Configurable> Display for Context<Cnf>
impl<Cnf: Eq + Configurable> Eq for Context<Cnf>
impl<Cnf: Configurable> StructuralPartialEq for Context<Cnf>
Auto Trait Implementations§
impl<Cnf> Freeze for Context<Cnf>where
Cnf: Freeze,
impl<Cnf> RefUnwindSafe for Context<Cnf>where
Cnf: RefUnwindSafe,
impl<Cnf> Send for Context<Cnf>where
Cnf: Send,
impl<Cnf> Sync for Context<Cnf>where
Cnf: Sync,
impl<Cnf> Unpin for Context<Cnf>where
Cnf: Unpin,
impl<Cnf> UnwindSafe for Context<Cnf>where
Cnf: UnwindSafe,
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