Struct scsys_actors::contexts::Context
source · pub struct Context<Cnf: Configurable> {
pub settings: Cnf,
}
Fields§
§settings: Cnf
Implementations§
Trait Implementations§
source§impl<'de, Cnf: Configurable> Deserialize<'de> for Context<Cnf>where
Cnf: Deserialize<'de>,
impl<'de, Cnf: Configurable> Deserialize<'de> for Context<Cnf>where
Cnf: Deserialize<'de>,
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>
source§impl<Cnf: PartialEq + Configurable> PartialEq<Context<Cnf>> for Context<Cnf>
impl<Cnf: PartialEq + Configurable> PartialEq<Context<Cnf>> for Context<Cnf>
impl<Cnf: Eq + Configurable> Eq for Context<Cnf>
impl<Cnf: Configurable> StructuralEq for Context<Cnf>
impl<Cnf: Configurable> StructuralPartialEq for Context<Cnf>
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.