pub struct DatabricksCredential {
pub bearer: String,
}Expand description
Bearer token credential used by all Databricks auth paths.
Wraps an OAuth/OIDC bearer token used to authorize requests against
Databricks REST APIs. The bearer field is secret material;
treat it as confidential and avoid logging it.
Fields§
§bearer: StringThe bearer token. This is secret material.
Trait Implementations§
Source§impl Debug for DatabricksCredential
impl Debug for DatabricksCredential
impl Eq for DatabricksCredential
Source§impl PartialEq for DatabricksCredential
impl PartialEq for DatabricksCredential
Source§fn eq(&self, other: &DatabricksCredential) -> bool
fn eq(&self, other: &DatabricksCredential) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DatabricksCredential
Auto Trait Implementations§
impl Freeze for DatabricksCredential
impl RefUnwindSafe for DatabricksCredential
impl Send for DatabricksCredential
impl Sync for DatabricksCredential
impl Unpin for DatabricksCredential
impl UnsafeUnpin for DatabricksCredential
impl UnwindSafe for DatabricksCredential
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<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.