pub enum ToolAuthorizationScope {
Once,
Persisted,
}Expand description
Lifetime of a concrete tool-execution authorization.
This describes the approval scope that produced an authorization. It does not itself persist permission policy.
Variants§
Once
Authorization applies only to the current invocation.
Persisted
Authorization was produced from a reusable permission rule.
Trait Implementations§
Source§impl Clone for ToolAuthorizationScope
impl Clone for ToolAuthorizationScope
Source§fn clone(&self) -> ToolAuthorizationScope
fn clone(&self) -> ToolAuthorizationScope
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 ToolAuthorizationScope
Source§impl Debug for ToolAuthorizationScope
impl Debug for ToolAuthorizationScope
impl Eq for ToolAuthorizationScope
Source§impl PartialEq for ToolAuthorizationScope
impl PartialEq for ToolAuthorizationScope
impl StructuralPartialEq for ToolAuthorizationScope
Auto Trait Implementations§
impl Freeze for ToolAuthorizationScope
impl RefUnwindSafe for ToolAuthorizationScope
impl Send for ToolAuthorizationScope
impl Sync for ToolAuthorizationScope
impl Unpin for ToolAuthorizationScope
impl UnsafeUnpin for ToolAuthorizationScope
impl UnwindSafe for ToolAuthorizationScope
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