pub enum SandboxSessionChange {
Disabled,
Restored,
Unknown,
}Expand description
A session-scoped sandbox transition applied while handling a slash command
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Disabled
The sandbox is off for the rest of this session; nothing was persisted and a new session starts from managed policy.
Restored
A previous session-scoped opt-out was cleared and the sandbox is enforced again.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for SandboxSessionChange
impl Clone for SandboxSessionChange
Source§impl Debug for SandboxSessionChange
impl Debug for SandboxSessionChange
Source§impl Default for SandboxSessionChange
impl Default for SandboxSessionChange
Source§impl<'de> Deserialize<'de> for SandboxSessionChange
impl<'de> Deserialize<'de> for SandboxSessionChange
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
impl Eq for SandboxSessionChange
Source§impl PartialEq for SandboxSessionChange
impl PartialEq for SandboxSessionChange
Source§impl Serialize for SandboxSessionChange
impl Serialize for SandboxSessionChange
impl StructuralPartialEq for SandboxSessionChange
Auto Trait Implementations§
impl Freeze for SandboxSessionChange
impl RefUnwindSafe for SandboxSessionChange
impl Send for SandboxSessionChange
impl Sync for SandboxSessionChange
impl Unpin for SandboxSessionChange
impl UnsafeUnpin for SandboxSessionChange
impl UnwindSafe for SandboxSessionChange
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.