Struct azure_devops_rust_api::ims::models::IdentityDescriptor
source · pub struct IdentityDescriptor {
pub identifier: Option<String>,
pub identity_type: Option<String>,
}
Expand description
An Identity descriptor is a wrapper for the identity type (Windows SID, Passport) along with a unique identifier such as the SID or PUID.
Fields§
§identifier: Option<String>
The unique identifier for this identity, not exceeding 256 chars, which will be persisted.
identity_type: Option<String>
Type of descriptor (for example, Windows, Passport, etc.).
Implementations§
Trait Implementations§
source§impl Clone for IdentityDescriptor
impl Clone for IdentityDescriptor
source§fn clone(&self) -> IdentityDescriptor
fn clone(&self) -> IdentityDescriptor
Returns a copy 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 IdentityDescriptor
impl Debug for IdentityDescriptor
source§impl Default for IdentityDescriptor
impl Default for IdentityDescriptor
source§fn default() -> IdentityDescriptor
fn default() -> IdentityDescriptor
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IdentityDescriptor
impl<'de> Deserialize<'de> for IdentityDescriptor
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
source§impl PartialEq for IdentityDescriptor
impl PartialEq for IdentityDescriptor
source§fn eq(&self, other: &IdentityDescriptor) -> bool
fn eq(&self, other: &IdentityDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IdentityDescriptor
impl Serialize for IdentityDescriptor
impl StructuralPartialEq for IdentityDescriptor
Auto Trait Implementations§
impl Freeze for IdentityDescriptor
impl RefUnwindSafe for IdentityDescriptor
impl Send for IdentityDescriptor
impl Sync for IdentityDescriptor
impl Unpin for IdentityDescriptor
impl UnwindSafe for IdentityDescriptor
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