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
sourceimpl Clone for PolicyAssignment
impl Clone for PolicyAssignment
sourcefn clone(&self) -> PolicyAssignment
fn clone(&self) -> PolicyAssignment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PolicyAssignment
impl Debug for PolicyAssignment
sourceimpl Default for PolicyAssignment
impl Default for PolicyAssignment
sourcefn default() -> PolicyAssignment
fn default() -> PolicyAssignment
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PolicyAssignment
impl<'de> Deserialize<'de> for PolicyAssignment
sourcefn 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
sourceimpl PartialEq<PolicyAssignment> for PolicyAssignment
impl PartialEq<PolicyAssignment> for PolicyAssignment
sourcefn eq(&self, other: &PolicyAssignment) -> bool
fn eq(&self, other: &PolicyAssignment) -> bool
sourceimpl Serialize for PolicyAssignment
impl Serialize for PolicyAssignment
impl StructuralPartialEq for PolicyAssignment
Auto Trait Implementations
impl RefUnwindSafe for PolicyAssignment
impl Send for PolicyAssignment
impl Sync for PolicyAssignment
impl Unpin for PolicyAssignment
impl UnwindSafe for PolicyAssignment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more