pub struct ProviderSpec {
pub id: String,
pub display_name: String,
pub base_url: String,
pub credential: Option<String>,
}Expand description
The resolved provider and the credential in use.
The endpoint includes environment overrides. Model lists are published by
ante catalog; unknown fields are ignored.
Fields§
§id: String§display_name: String§base_url: String§credential: Option<String>The credential requests are sent with as of this announcement, as a
qualified reference such as oauth:antix/work, never a token: the
session’s explicit choice when it has one, else the one configured
precedence resolves to. Absent when the provider needs none or none
is available.
Trait Implementations§
Source§impl Clone for ProviderSpec
impl Clone for ProviderSpec
Source§impl Debug for ProviderSpec
impl Debug for ProviderSpec
Source§impl Default for ProviderSpec
impl Default for ProviderSpec
Source§impl<'de> Deserialize<'de> for ProviderSpec
impl<'de> Deserialize<'de> for ProviderSpec
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 Forget for ProviderSpec
impl Freeze for ProviderSpec
impl Move for ProviderSpec
impl RefUnwindSafe for ProviderSpec
impl Send for ProviderSpecwhere
RawVecInner: Send,
impl Sync for ProviderSpecwhere
RawVecInner: Sync,
impl Unpin for ProviderSpec
impl UnsafeUnpin for ProviderSpec
impl UnwindSafe for ProviderSpecwhere
RawVecInner: UnwindSafe,
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