pub struct CredentialHelp {
pub acquisition: CredentialAcquisition,
pub credential_url: Option<&'static str>,
pub docs_url: Option<&'static str>,
pub guidance: &'static str,
}Expand description
Canonical, non-secret help for configuring one provider.
Fields§
§acquisition: CredentialAcquisition§credential_url: Option<&'static str>Stable provider-owned page for creating or locating credentials.
None is deliberate for local, OAuth-only, and user-defined routes; UI
callers must show Self::guidance instead of guessing a URL.
docs_url: Option<&'static str>Provider-owned documentation when the repository already has a stable link.
guidance: &'static strConcise fallback or qualification for non-key and mixed-auth routes.
Trait Implementations§
Source§impl Clone for CredentialHelp
impl Clone for CredentialHelp
Source§fn clone(&self) -> CredentialHelp
fn clone(&self) -> CredentialHelp
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 moreimpl Copy for CredentialHelp
Source§impl Debug for CredentialHelp
impl Debug for CredentialHelp
impl Eq for CredentialHelp
Source§impl PartialEq for CredentialHelp
impl PartialEq for CredentialHelp
impl StructuralPartialEq for CredentialHelp
Auto Trait Implementations§
impl Freeze for CredentialHelp
impl RefUnwindSafe for CredentialHelp
impl Send for CredentialHelp
impl Sync for CredentialHelp
impl Unpin for CredentialHelp
impl UnsafeUnpin for CredentialHelp
impl UnwindSafe for CredentialHelp
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,
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.