pub struct ProviderTokenGetTokenResult {
pub token: String,
}Expand description
A bearer token supplied by the SDK client for a BYOK provider. The runtime sets it as Authorization: Bearer <token> on the outbound request and does no caching; the SDK consumer owns token caching and refresh.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§token: StringThe bearer token value (without the Bearer prefix).
Trait Implementations§
Source§impl Clone for ProviderTokenGetTokenResult
impl Clone for ProviderTokenGetTokenResult
Source§fn clone(&self) -> ProviderTokenGetTokenResult
fn clone(&self) -> ProviderTokenGetTokenResult
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 ProviderTokenGetTokenResult
impl Debug for ProviderTokenGetTokenResult
Source§impl Default for ProviderTokenGetTokenResult
impl Default for ProviderTokenGetTokenResult
Source§fn default() -> ProviderTokenGetTokenResult
fn default() -> ProviderTokenGetTokenResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderTokenGetTokenResult
impl<'de> Deserialize<'de> for ProviderTokenGetTokenResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProviderTokenGetTokenResult
impl RefUnwindSafe for ProviderTokenGetTokenResult
impl Send for ProviderTokenGetTokenResult
impl Sync for ProviderTokenGetTokenResult
impl Unpin for ProviderTokenGetTokenResult
impl UnsafeUnpin for ProviderTokenGetTokenResult
impl UnwindSafe for ProviderTokenGetTokenResult
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