pub struct ProfileOptions {Show 14 fields
pub profile: Option<String>,
pub host: Option<String>,
pub account_id: Option<String>,
pub workspace_id: Option<String>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub access_token: Option<String>,
pub group_id: Option<String>,
pub auth_type: Option<String>,
pub scopes: Option<Vec<String>>,
pub target: Option<TargetKind>,
pub config_file: Option<PathBuf>,
pub prefer_user_to_machine: bool,
pub skip_implicit_pat: bool,
}Expand description
Databricks profile overrides; debug output never includes the client secret.
Fields§
§profile: Option<String>§host: Option<String>§account_id: Option<String>§workspace_id: Option<String>§client_id: Option<String>§client_secret: Option<String>M2M secret accepted by the Rust API and redacted from debug output.
access_token: Option<String>Personal access token accepted by the Rust API and redacted from debug output.
group_id: Option<String>Optional group role requested by M2M.
auth_type: Option<String>Explicit Databricks auth type: databricks-cli, oauth-m2m, or pat.
scopes: Option<Vec<String>>§target: Option<TargetKind>§config_file: Option<PathBuf>§prefer_user_to_machine: boolWhether implicit M2M defaults should select one matching U2M profile.
skip_implicit_pat: boolWhether an implicit PAT profile should be ignored.
Trait Implementations§
Source§impl Clone for ProfileOptions
impl Clone for ProfileOptions
Source§fn clone(&self) -> ProfileOptions
fn clone(&self) -> ProfileOptions
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 ProfileOptions
impl Debug for ProfileOptions
Auto Trait Implementations§
impl Freeze for ProfileOptions
impl RefUnwindSafe for ProfileOptions
impl Send for ProfileOptions
impl Sync for ProfileOptions
impl Unpin for ProfileOptions
impl UnsafeUnpin for ProfileOptions
impl UnwindSafe for ProfileOptions
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