pub enum VectorToolKind {
Search,
Get,
Upsert,
Delete,
}Expand description
Which generated tool an approval mode applies to.
Variants§
Implementations§
Source§impl VectorToolKind
impl VectorToolKind
Sourcepub fn default_approval(self) -> ApprovalMode
pub fn default_approval(self) -> ApprovalMode
The default approval mode, matching upstream’s: reads are free, writes are not. A model that decides to tidy up a collection should have to ask first, and a delete it gets wrong is not recoverable from the conversation.
Trait Implementations§
Source§impl Clone for VectorToolKind
impl Clone for VectorToolKind
Source§fn clone(&self) -> VectorToolKind
fn clone(&self) -> VectorToolKind
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 moreimpl Copy for VectorToolKind
Source§impl Debug for VectorToolKind
impl Debug for VectorToolKind
impl Eq for VectorToolKind
Source§impl Hash for VectorToolKind
impl Hash for VectorToolKind
Source§impl PartialEq for VectorToolKind
impl PartialEq for VectorToolKind
impl StructuralPartialEq for VectorToolKind
Auto Trait Implementations§
impl Freeze for VectorToolKind
impl RefUnwindSafe for VectorToolKind
impl Send for VectorToolKind
impl Sync for VectorToolKind
impl Unpin for VectorToolKind
impl UnsafeUnpin for VectorToolKind
impl UnwindSafe for VectorToolKind
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