pub struct PolicyDefinition {
pub properties: Option<PolicyDefinitionProperties>,
pub id: Option<String>,
pub name: Option<String>,
pub type_: Option<String>,
pub system_data: Option<SystemData>,
}
Expand description
The policy definition.
Fields
properties: Option<PolicyDefinitionProperties>
The policy definition properties.
id: Option<String>
The ID of the policy definition.
name: Option<String>
The name of the policy definition.
type_: Option<String>
The type of the resource (Microsoft.Authorization/policyDefinitions).
system_data: Option<SystemData>
Metadata pertaining to creation and last modification of the resource.
Implementations
Trait Implementations
sourceimpl Clone for PolicyDefinition
impl Clone for PolicyDefinition
sourcefn clone(&self) -> PolicyDefinition
fn clone(&self) -> PolicyDefinition
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 PolicyDefinition
impl Debug for PolicyDefinition
sourceimpl Default for PolicyDefinition
impl Default for PolicyDefinition
sourcefn default() -> PolicyDefinition
fn default() -> PolicyDefinition
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PolicyDefinition
impl<'de> Deserialize<'de> for PolicyDefinition
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<PolicyDefinition> for PolicyDefinition
impl PartialEq<PolicyDefinition> for PolicyDefinition
sourcefn eq(&self, other: &PolicyDefinition) -> bool
fn eq(&self, other: &PolicyDefinition) -> bool
sourceimpl Serialize for PolicyDefinition
impl Serialize for PolicyDefinition
impl StructuralPartialEq for PolicyDefinition
Auto Trait Implementations
impl RefUnwindSafe for PolicyDefinition
impl Send for PolicyDefinition
impl Sync for PolicyDefinition
impl Unpin for PolicyDefinition
impl UnwindSafe for PolicyDefinition
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