pub struct PolicyExemption {
pub properties: PolicyExemptionProperties,
pub system_data: Option<SystemData>,
pub id: Option<String>,
pub name: Option<String>,
pub type_: Option<String>,
}
Expand description
The policy exemption.
Fields§
§properties: PolicyExemptionProperties
The policy exemption properties.
system_data: Option<SystemData>
Metadata pertaining to creation and last modification of the resource.
id: Option<String>
The ID of the policy exemption.
name: Option<String>
The name of the policy exemption.
type_: Option<String>
The type of the resource (Microsoft.Authorization/policyExemptions).
Implementations§
source§impl PolicyExemption
impl PolicyExemption
pub fn new(properties: PolicyExemptionProperties) -> Self
Trait Implementations§
source§impl Clone for PolicyExemption
impl Clone for PolicyExemption
source§fn clone(&self) -> PolicyExemption
fn clone(&self) -> PolicyExemption
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 PolicyExemption
impl Debug for PolicyExemption
source§impl<'de> Deserialize<'de> for PolicyExemption
impl<'de> Deserialize<'de> for PolicyExemption
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 PolicyExemption
impl PartialEq for PolicyExemption
source§fn eq(&self, other: &PolicyExemption) -> bool
fn eq(&self, other: &PolicyExemption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PolicyExemption
impl Serialize for PolicyExemption
impl StructuralPartialEq for PolicyExemption
Auto Trait Implementations§
impl Freeze for PolicyExemption
impl RefUnwindSafe for PolicyExemption
impl Send for PolicyExemption
impl Sync for PolicyExemption
impl Unpin for PolicyExemption
impl UnwindSafe for PolicyExemption
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