pub struct SetupTokenCommand;Expand description
Set up a long-lived authentication token.
§Example
use claude_wrapper::{Claude, ClaudeCommand, SetupTokenCommand};
let claude = Claude::builder().build()?;
SetupTokenCommand::new().execute(&claude).await?;Implementations§
Trait Implementations§
Source§impl ClaudeCommand for SetupTokenCommand
impl ClaudeCommand for SetupTokenCommand
Source§impl Clone for SetupTokenCommand
impl Clone for SetupTokenCommand
Source§fn clone(&self) -> SetupTokenCommand
fn clone(&self) -> SetupTokenCommand
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 SetupTokenCommand
impl Debug for SetupTokenCommand
Source§impl Default for SetupTokenCommand
impl Default for SetupTokenCommand
Source§fn default() -> SetupTokenCommand
fn default() -> SetupTokenCommand
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetupTokenCommand
impl RefUnwindSafe for SetupTokenCommand
impl Send for SetupTokenCommand
impl Sync for SetupTokenCommand
impl Unpin for SetupTokenCommand
impl UnsafeUnpin for SetupTokenCommand
impl UnwindSafe for SetupTokenCommand
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