#[non_exhaustive]pub struct SpinnerVerbs {
pub mode: Option<SpinnerVerbsMode>,
pub verbs: Option<Vec<String>>,
pub extra: Extra,
}Expand description
spinnerVerbs.
While a turn is in progress, the spinner shows a rotating verb such as “Accomplishing”, “Architecting”, or “Baking”. Use this key to add your own verbs to that rotation or replace the built-in list with yours.
Docs: spinnerVerbs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mode: Option<SpinnerVerbsMode>How to combine custom verbs with default spinner verbs: ‘append’ adds custom verbs to the default list, ‘replace’ uses only custom verbs.
- Values:
"append","replace" - Default: unset
Docs: mode.
verbs: Option<Vec<String>>§extra: ExtraKeys Claude Code accepts here that this crate doesn’t model (newer or undocumented ones), kept as written so the document round-trips.
Trait Implementations§
Source§impl Clone for SpinnerVerbs
impl Clone for SpinnerVerbs
Source§impl Debug for SpinnerVerbs
impl Debug for SpinnerVerbs
Source§impl Default for SpinnerVerbs
impl Default for SpinnerVerbs
Source§impl<'de> Deserialize<'de> for SpinnerVerbs
impl<'de> Deserialize<'de> for SpinnerVerbs
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 SpinnerVerbs
impl PartialEq for SpinnerVerbs
Source§impl Serialize for SpinnerVerbs
impl Serialize for SpinnerVerbs
impl StructuralPartialEq for SpinnerVerbs
Auto Trait Implementations§
impl Forget for SpinnerVerbs
impl Freeze for SpinnerVerbs
impl Move for SpinnerVerbs
impl RefUnwindSafe for SpinnerVerbs
impl Send for SpinnerVerbs
impl Sync for SpinnerVerbs
impl Unpin for SpinnerVerbs
impl UnsafeUnpin for SpinnerVerbs
impl UnwindSafe for SpinnerVerbs
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