#[non_exhaustive]pub struct AuthNMapping {
pub attributes: Option<AuthNMappingAttributes>,
pub id: String,
pub relationships: Option<AuthNMappingRelationships>,
pub type_: AuthNMappingsType,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
The AuthN Mapping object returned by API.
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.attributes: Option<AuthNMappingAttributes>
Attributes of AuthN Mapping.
id: String
ID of the AuthN Mapping.
relationships: Option<AuthNMappingRelationships>
All relationships associated with AuthN Mapping.
type_: AuthNMappingsType
AuthN Mappings resource type.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl AuthNMapping
impl AuthNMapping
pub fn new(id: String, type_: AuthNMappingsType) -> AuthNMapping
pub fn attributes(self, value: AuthNMappingAttributes) -> Self
pub fn relationships(self, value: AuthNMappingRelationships) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for AuthNMapping
impl Clone for AuthNMapping
Source§fn clone(&self) -> AuthNMapping
fn clone(&self) -> AuthNMapping
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 AuthNMapping
impl Debug for AuthNMapping
Source§impl<'de> Deserialize<'de> for AuthNMapping
impl<'de> Deserialize<'de> for AuthNMapping
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 AuthNMapping
impl PartialEq for AuthNMapping
Source§impl Serialize for AuthNMapping
impl Serialize for AuthNMapping
impl StructuralPartialEq for AuthNMapping
Auto Trait Implementations§
impl Freeze for AuthNMapping
impl RefUnwindSafe for AuthNMapping
impl Send for AuthNMapping
impl Sync for AuthNMapping
impl Unpin for AuthNMapping
impl UnwindSafe for AuthNMapping
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