pub enum ToolCredentialContextRef {
OwningProfile {
required_scopes: BTreeSet<String>,
},
AuthBinding {
auth_binding: AuthBindingRef,
required_scopes: BTreeSet<String>,
},
}Expand description
Non-secret credential context to resolve afresh for an execution attempt.
Variants§
OwningProfile
Resolve the current owning realm/profile using the required scopes.
AuthBinding
Resolve a specific typed auth binding. The binding is an identity reference only; it does not contain secret material.
Trait Implementations§
Source§impl Clone for ToolCredentialContextRef
impl Clone for ToolCredentialContextRef
Source§fn clone(&self) -> ToolCredentialContextRef
fn clone(&self) -> ToolCredentialContextRef
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 moreSource§impl Debug for ToolCredentialContextRef
impl Debug for ToolCredentialContextRef
impl Eq for ToolCredentialContextRef
Source§impl PartialEq for ToolCredentialContextRef
impl PartialEq for ToolCredentialContextRef
impl StructuralPartialEq for ToolCredentialContextRef
Auto Trait Implementations§
impl Freeze for ToolCredentialContextRef
impl RefUnwindSafe for ToolCredentialContextRef
impl Send for ToolCredentialContextRef
impl Sync for ToolCredentialContextRef
impl Unpin for ToolCredentialContextRef
impl UnsafeUnpin for ToolCredentialContextRef
impl UnwindSafe for ToolCredentialContextRef
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,
impl<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
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.