pub enum UsagePurpose {
Turn,
Title,
CommitAssist,
Review,
Rebase,
Other,
}Expand description
Work an invocation’s usage is recorded under, so utility work stays distinguishable from session turns.
Variants§
Turn
A session turn, including its compaction and summary requests.
Title
Generation of a session title.
CommitAssist
Generation of a commit message.
Review
A focused review of session changes.
Rebase
Conflict resolution while rebasing a session branch.
Other
Any other utility prompt.
Implementations§
Trait Implementations§
Source§impl Clone for UsagePurpose
impl Clone for UsagePurpose
impl Copy for UsagePurpose
Source§impl Debug for UsagePurpose
impl Debug for UsagePurpose
impl Eq for UsagePurpose
Source§impl Hash for UsagePurpose
impl Hash for UsagePurpose
Source§impl PartialEq for UsagePurpose
impl PartialEq for UsagePurpose
impl StructuralPartialEq for UsagePurpose
Auto Trait Implementations§
impl Forget for UsagePurpose
impl Freeze for UsagePurpose
impl Move for UsagePurpose
impl RefUnwindSafe for UsagePurpose
impl Send for UsagePurpose
impl Sync for UsagePurpose
impl Unpin for UsagePurpose
impl UnsafeUnpin for UsagePurpose
impl UnwindSafe for UsagePurpose
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.