pub struct ProviderTokenArgs {
pub provider_name: String,
pub session_id: String,
}Expand description
Arguments passed to a BYOK bearer-token provider callback.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§provider_name: StringName of the BYOK provider needing a token.
This is "default" for the singular whole-session provider, otherwise
the named provider’s name.
session_id: StringId of the session that triggered this token request.
A client-level shared callback registered for many sessions can use this to resolve the owning session and scope token acquisition or caching per session.
Trait Implementations§
Source§impl Clone for ProviderTokenArgs
impl Clone for ProviderTokenArgs
Source§fn clone(&self) -> ProviderTokenArgs
fn clone(&self) -> ProviderTokenArgs
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 ProviderTokenArgs
impl Debug for ProviderTokenArgs
impl Eq for ProviderTokenArgs
Source§impl PartialEq for ProviderTokenArgs
impl PartialEq for ProviderTokenArgs
Source§fn eq(&self, other: &ProviderTokenArgs) -> bool
fn eq(&self, other: &ProviderTokenArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProviderTokenArgs
Auto Trait Implementations§
impl Freeze for ProviderTokenArgs
impl RefUnwindSafe for ProviderTokenArgs
impl Send for ProviderTokenArgs
impl Sync for ProviderTokenArgs
impl Unpin for ProviderTokenArgs
impl UnsafeUnpin for ProviderTokenArgs
impl UnwindSafe for ProviderTokenArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.