pub struct AuthEntry {
pub auth_type: String,
pub key: Option<String>,
pub token: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
A single provider’s auth entry.
Fields§
§auth_type: StringAuth type (e.g., “api”, “oauth”).
key: Option<String>API key or token value.
token: Option<String>OAuth token (for OAuth-based auth).
extra: HashMap<String, Value>Additional fields we don’t explicitly model.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthEntry
impl<'de> Deserialize<'de> for AuthEntry
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 AuthEntry
impl RefUnwindSafe for AuthEntry
impl Send for AuthEntry
impl Sync for AuthEntry
impl Unpin for AuthEntry
impl UnsafeUnpin for AuthEntry
impl UnwindSafe for AuthEntry
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