pub struct GraphServicePrincipal {
pub id: Option<String>,
pub app_id: Option<String>,
pub display_name: Option<String>,
pub service_principal_type: Option<String>,
pub account_enabled: Option<bool>,
}Expand description
An Entra ID service principal (enterprise application) returned by Microsoft Graph.
Used to detect provisioning connectors (e.g. Databricks SCIM) by querying
GET /v1.0/servicePrincipals?$filter=displayName eq '...'.
Fields§
§id: Option<String>The unique object ID of the service principal.
app_id: Option<String>The application (client) ID associated with this service principal.
display_name: Option<String>Display name of the service principal.
service_principal_type: Option<String>The type of service principal: “Application”, “ManagedIdentity”, or “SocialIdp”.
account_enabled: Option<bool>Whether the service principal is enabled for sign-in.
Trait Implementations§
Source§impl Clone for GraphServicePrincipal
impl Clone for GraphServicePrincipal
Source§fn clone(&self) -> GraphServicePrincipal
fn clone(&self) -> GraphServicePrincipal
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 GraphServicePrincipal
impl Debug for GraphServicePrincipal
Source§impl Default for GraphServicePrincipal
impl Default for GraphServicePrincipal
Source§fn default() -> GraphServicePrincipal
fn default() -> GraphServicePrincipal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphServicePrincipal
impl<'de> Deserialize<'de> for GraphServicePrincipal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GraphServicePrincipal
impl RefUnwindSafe for GraphServicePrincipal
impl Send for GraphServicePrincipal
impl Sync for GraphServicePrincipal
impl Unpin for GraphServicePrincipal
impl UnsafeUnpin for GraphServicePrincipal
impl UnwindSafe for GraphServicePrincipal
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