pub struct PolicyAssignment {
pub properties: Option<PolicyAssignmentProperties>,
pub id: Option<String>,
pub type_: Option<String>,
pub name: Option<String>,
pub location: Option<String>,
pub identity: Option<Identity>,
pub system_data: Option<SystemData>,
}
Expand description
The policy assignment.
Fields§
§properties: Option<PolicyAssignmentProperties>
The policy assignment properties.
id: Option<String>
The ID of the policy assignment.
type_: Option<String>
The type of the policy assignment.
name: Option<String>
The name of the policy assignment.
location: Option<String>
The location of the policy assignment. Only required when utilizing managed identity.
identity: Option<Identity>
Identity for the resource. Policy assignments support a maximum of one identity. That is either a system assigned identity or a single user assigned identity.
system_data: Option<SystemData>
Metadata pertaining to creation and last modification of the resource.
Implementations§
Trait Implementations§
source§impl Clone for PolicyAssignment
impl Clone for PolicyAssignment
source§fn clone(&self) -> PolicyAssignment
fn clone(&self) -> PolicyAssignment
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 PolicyAssignment
impl Debug for PolicyAssignment
source§impl Default for PolicyAssignment
impl Default for PolicyAssignment
source§fn default() -> PolicyAssignment
fn default() -> PolicyAssignment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PolicyAssignment
impl<'de> Deserialize<'de> for PolicyAssignment
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<PolicyAssignment> for PolicyAssignment
impl PartialEq<PolicyAssignment> for PolicyAssignment
source§fn eq(&self, other: &PolicyAssignment) -> bool
fn eq(&self, other: &PolicyAssignment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.