pub enum HookScope {
Thread,
Turn,
}Expand description
HookScope
JSON schema
{
"type": "string",
"enum": [
"thread",
"turn"
]
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HookScope
impl<'de> Deserialize<'de> for HookScope
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 Ord for HookScope
impl Ord for HookScope
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for HookScope
impl PartialOrd for HookScope
Source§impl TryFrom<&String> for HookScope
impl TryFrom<&String> for HookScope
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for HookScope
impl TryFrom<&str> for HookScope
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for HookScope
impl TryFrom<String> for HookScope
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for HookScope
impl Eq for HookScope
impl StructuralPartialEq for HookScope
Auto Trait Implementations§
impl Freeze for HookScope
impl RefUnwindSafe for HookScope
impl Send for HookScope
impl Sync for HookScope
impl Unpin for HookScope
impl UnsafeUnpin for HookScope
impl UnwindSafe for HookScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.