#[non_exhaustive]pub struct SqlServerEntraIdConfig {
pub kind: String,
pub tenant_id: String,
pub application_id: String,
/* private fields */
}Expand description
SQL Server Entra ID configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: StringOutput only. This is always sql#sqlServerEntraIdConfig
tenant_id: StringOptional. The tenant ID for the Entra ID configuration.
application_id: StringOptional. The application ID for the Entra ID configuration.
Implementations§
Source§impl SqlServerEntraIdConfig
impl SqlServerEntraIdConfig
pub fn new() -> Self
Sourcepub fn set_tenant_id<T: Into<String>>(self, v: T) -> Self
pub fn set_tenant_id<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_application_id<T: Into<String>>(self, v: T) -> Self
pub fn set_application_id<T: Into<String>>(self, v: T) -> Self
Sets the value of application_id.
§Example
ⓘ
let x = SqlServerEntraIdConfig::new().set_application_id("example");Trait Implementations§
Source§impl Clone for SqlServerEntraIdConfig
impl Clone for SqlServerEntraIdConfig
Source§fn clone(&self) -> SqlServerEntraIdConfig
fn clone(&self) -> SqlServerEntraIdConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SqlServerEntraIdConfig
impl Debug for SqlServerEntraIdConfig
Source§impl Default for SqlServerEntraIdConfig
impl Default for SqlServerEntraIdConfig
Source§fn default() -> SqlServerEntraIdConfig
fn default() -> SqlServerEntraIdConfig
Returns the “default value” for a type. Read more
Source§impl Message for SqlServerEntraIdConfig
impl Message for SqlServerEntraIdConfig
Source§impl PartialEq for SqlServerEntraIdConfig
impl PartialEq for SqlServerEntraIdConfig
impl StructuralPartialEq for SqlServerEntraIdConfig
Auto Trait Implementations§
impl Freeze for SqlServerEntraIdConfig
impl RefUnwindSafe for SqlServerEntraIdConfig
impl Send for SqlServerEntraIdConfig
impl Sync for SqlServerEntraIdConfig
impl Unpin for SqlServerEntraIdConfig
impl UnwindSafe for SqlServerEntraIdConfig
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