pub struct FleetRoleRoleAssignment {
pub identity_id: Uuid,
pub identity_type: IdentityType,
pub role_name: FleetRole,
}Expand description
Describes the assignment of a particular role on a particular resource to a particular identity (user, group, etc.)
The resource is not part of this structure. Rather, RoleAssignments
are put into a Policy and that Policy is applied to a particular
resource.
JSON schema
{
"description": "Describes the assignment of a particular role on a
particular resource to a particular identity (user, group, etc.)\n\nThe
resource is not part of this structure. Rather, `RoleAssignment`s are
put into a `Policy` and that Policy is applied to a particular
resource.",
"type": "object",
"required": [
"identity_id",
"identity_type",
"role_name"
],
"properties": {
"identity_id": {
"type": "string",
"format": "uuid"
},
"identity_type": {
"$ref": "#/components/schemas/IdentityType"
},
"role_name": {
"$ref": "#/components/schemas/FleetRole"
}
}
}Fields§
§identity_id: Uuid§identity_type: IdentityType§role_name: FleetRoleImplementations§
Source§impl FleetRoleRoleAssignment
impl FleetRoleRoleAssignment
pub fn builder() -> FleetRoleRoleAssignment
Trait Implementations§
Source§impl Clone for FleetRoleRoleAssignment
impl Clone for FleetRoleRoleAssignment
Source§fn clone(&self) -> FleetRoleRoleAssignment
fn clone(&self) -> FleetRoleRoleAssignment
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 FleetRoleRoleAssignment
impl Debug for FleetRoleRoleAssignment
Source§impl<'de> Deserialize<'de> for FleetRoleRoleAssignment
impl<'de> Deserialize<'de> for FleetRoleRoleAssignment
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 From<&FleetRoleRoleAssignment> for FleetRoleRoleAssignment
impl From<&FleetRoleRoleAssignment> for FleetRoleRoleAssignment
Source§fn from(value: &FleetRoleRoleAssignment) -> Self
fn from(value: &FleetRoleRoleAssignment) -> Self
Converts to this type from the input type.
Source§impl From<FleetRoleRoleAssignment> for FleetRoleRoleAssignment
impl From<FleetRoleRoleAssignment> for FleetRoleRoleAssignment
Source§fn from(value: FleetRoleRoleAssignment) -> Self
fn from(value: FleetRoleRoleAssignment) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for FleetRoleRoleAssignment
impl JsonSchema for FleetRoleRoleAssignment
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for FleetRoleRoleAssignment
impl Serialize for FleetRoleRoleAssignment
Source§impl TryFrom<FleetRoleRoleAssignment> for FleetRoleRoleAssignment
impl TryFrom<FleetRoleRoleAssignment> for FleetRoleRoleAssignment
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: FleetRoleRoleAssignment) -> Result<Self, ConversionError>
fn try_from(value: FleetRoleRoleAssignment) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for FleetRoleRoleAssignment
impl RefUnwindSafe for FleetRoleRoleAssignment
impl Send for FleetRoleRoleAssignment
impl Sync for FleetRoleRoleAssignment
impl Unpin for FleetRoleRoleAssignment
impl UnwindSafe for FleetRoleRoleAssignment
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