Enum azure_mgmt_resources::package_policy_2021_06::models::policy_definition_properties::PolicyType
source · pub enum PolicyType {
NotSpecified,
BuiltIn,
Custom,
Static,
UnknownValue(String),
}
Expand description
The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
Variants§
Implementations§
source§impl PolicyType
impl PolicyType
pub fn serialize<__S>( __self: &PolicyType, __serializer: __S ) -> Result<__S::Ok, __S::Error>where __S: Serializer,
source§impl<'de> PolicyType
impl<'de> PolicyType
pub fn deserialize<__D>(__deserializer: __D) -> Result<PolicyType, __D::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for PolicyType
impl Clone for PolicyType
source§fn clone(&self) -> PolicyType
fn clone(&self) -> PolicyType
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 PolicyType
impl Debug for PolicyType
source§impl<'de> Deserialize<'de> for PolicyType
impl<'de> Deserialize<'de> for PolicyType
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 FromStr for PolicyType
impl FromStr for PolicyType
source§impl PartialEq<PolicyType> for PolicyType
impl PartialEq<PolicyType> for PolicyType
source§fn eq(&self, other: &PolicyType) -> bool
fn eq(&self, other: &PolicyType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.