pub enum ScopeToken {
Text,
Thinking,
Tool {
name: String,
globs: Vec<String>,
},
}Expand description
Stream-source scope a TTSR rule can match against.
Variants§
Text
Matches assistant prose output.
Thinking
Matches model thinking/reasoning output.
Tool
Matches tool-call arguments, optionally filtered by tool name and globs.
Trait Implementations§
Source§impl Clone for ScopeToken
impl Clone for ScopeToken
Source§fn clone(&self) -> ScopeToken
fn clone(&self) -> ScopeToken
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScopeToken
impl RefUnwindSafe for ScopeToken
impl Send for ScopeToken
impl Sync for ScopeToken
impl Unpin for ScopeToken
impl UnsafeUnpin for ScopeToken
impl UnwindSafe for ScopeToken
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