pub struct RoleMapping {
pub local_role: Option<String>,
pub mfa_bypass: Option<MFABypass>,
pub oem: Option<Oem>,
pub remote_group: Option<String>,
pub remote_user: Option<String>,
}
Expand description
The mapping rules that are used to convert the external account providers account information to the local Redfish role.
Fields§
§local_role: Option<String>
The name of the local Redfish role to which to map the remote user or group.
mfa_bypass: Option<MFABypass>
§oem: Option<Oem>
§remote_group: Option<String>
The name of the remote group, or the remote role in the case of a Redfish service, that maps to the local Redfish role to which this entity links.
remote_user: Option<String>
The name of the remote user that maps to the local Redfish role to which this entity links.
Trait Implementations§
Source§impl Clone for RoleMapping
impl Clone for RoleMapping
Source§fn clone(&self) -> RoleMapping
fn clone(&self) -> RoleMapping
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RoleMapping
impl Debug for RoleMapping
Source§impl Default for RoleMapping
impl Default for RoleMapping
Source§impl<'de> Deserialize<'de> for RoleMapping
impl<'de> Deserialize<'de> for RoleMapping
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 Metadata<'static> for RoleMapping
impl Metadata<'static> for RoleMapping
Source§const JSON_SCHEMA: &'static str = "AccountService.v1_13_0.json"
const JSON_SCHEMA: &'static str = "AccountService.v1_13_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for RoleMapping
impl RefUnwindSafe for RoleMapping
impl Send for RoleMapping
impl Sync for RoleMapping
impl Unpin for RoleMapping
impl UnwindSafe for RoleMapping
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