pub struct GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule {
pub allow_all: Option<bool>,
pub deny_all: Option<bool>,
pub enforce: Option<bool>,
pub values: Option<GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues>,
}Expand description
A rule used to express this policy.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allow_all: Option<bool>ListPolicy only when all values are allowed.
deny_all: Option<bool>ListPolicy only when all values are denied.
enforce: Option<bool>BooleanPolicy only.
values: Option<GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRuleStringValues>ListPolicy only when custom values are specified.
Trait Implementations§
Source§impl Clone for GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
impl Clone for GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
Source§fn clone(&self) -> GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
fn clone(&self) -> GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
Returns a duplicate 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 Default for GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
impl Default for GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
Source§fn default() -> GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
fn default() -> GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
impl<'de> Deserialize<'de> for GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
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
impl Part for GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
Auto Trait Implementations§
impl Freeze for GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
impl RefUnwindSafe for GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
impl Send for GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
impl Sync for GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
impl Unpin for GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
impl UnwindSafe for GoogleCloudAssuredworkloadsV1OrgPolicyPolicyRule
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