pub enum CommandAvailability {
ClaudeAi,
Console,
}Expand description
Command availability - determines which auth/provider environments can use the command
Variants§
ClaudeAi
claude.ai OAuth subscriber (Pro/Max/Team/Enterprise via claude.ai)
Console
Console API key user (direct api.anthropic.com)
Trait Implementations§
Source§impl Clone for CommandAvailability
impl Clone for CommandAvailability
Source§fn clone(&self) -> CommandAvailability
fn clone(&self) -> CommandAvailability
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 CommandAvailability
impl Debug for CommandAvailability
Source§impl<'de> Deserialize<'de> for CommandAvailability
impl<'de> Deserialize<'de> for CommandAvailability
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 CommandAvailability
impl PartialEq for CommandAvailability
Source§impl Serialize for CommandAvailability
impl Serialize for CommandAvailability
impl Copy for CommandAvailability
impl StructuralPartialEq for CommandAvailability
Auto Trait Implementations§
impl Freeze for CommandAvailability
impl RefUnwindSafe for CommandAvailability
impl Send for CommandAvailability
impl Sync for CommandAvailability
impl Unpin for CommandAvailability
impl UnsafeUnpin for CommandAvailability
impl UnwindSafe for CommandAvailability
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