pub struct ProfileOptions {
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 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,
}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.
group_id: Option<String>Optional group role requested by M2M.
auth_type: Option<String>Explicit Databricks auth type, such as databricks-cli or oauth-m2m.
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.
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