pub enum GateMethod {
Hook,
HumanCli,
McpTool,
}Expand description
Gate-pass method. In v1 only Hook is emitted; HumanCli and McpTool
are reserved for post-v1 and included now to avoid a schema break.
Variants§
Trait Implementations§
Source§impl Clone for GateMethod
impl Clone for GateMethod
Source§fn clone(&self) -> GateMethod
fn clone(&self) -> GateMethod
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 GateMethod
impl Debug for GateMethod
Source§impl<'de> Deserialize<'de> for GateMethod
impl<'de> Deserialize<'de> for GateMethod
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 PartialEq for GateMethod
impl PartialEq for GateMethod
Source§impl Serialize for GateMethod
impl Serialize for GateMethod
impl Copy for GateMethod
impl Eq for GateMethod
impl StructuralPartialEq for GateMethod
Auto Trait Implementations§
impl Freeze for GateMethod
impl RefUnwindSafe for GateMethod
impl Send for GateMethod
impl Sync for GateMethod
impl Unpin for GateMethod
impl UnsafeUnpin for GateMethod
impl UnwindSafe for GateMethod
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more