pub struct GoogleCloudAssetV1Constraint {
pub boolean_constraint: Option<GoogleCloudAssetV1BooleanConstraint>,
pub constraint_default: Option<String>,
pub description: Option<String>,
pub display_name: Option<String>,
pub list_constraint: Option<GoogleCloudAssetV1ListConstraint>,
pub name: Option<String>,
}Expand description
The definition of a constraint.
This type is not used in any activity, and only used as part of another schema.
Fields§
§boolean_constraint: Option<GoogleCloudAssetV1BooleanConstraint>Defines this constraint as being a BooleanConstraint.
constraint_default: Option<String>The evaluation behavior of this constraint in the absence of ‘Policy’.
description: Option<String>Detailed description of what this Constraint controls as well as how and where it is enforced.
display_name: Option<String>The human readable name of the constraint.
list_constraint: Option<GoogleCloudAssetV1ListConstraint>Defines this constraint as being a ListConstraint.
name: Option<String>The unique name of the constraint. Format of the name should be * constraints/{constraint_name} For example, constraints/compute.disableSerialPortAccess.
Trait Implementations§
Source§impl Clone for GoogleCloudAssetV1Constraint
impl Clone for GoogleCloudAssetV1Constraint
Source§fn clone(&self) -> GoogleCloudAssetV1Constraint
fn clone(&self) -> GoogleCloudAssetV1Constraint
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 Debug for GoogleCloudAssetV1Constraint
impl Debug for GoogleCloudAssetV1Constraint
Source§impl Default for GoogleCloudAssetV1Constraint
impl Default for GoogleCloudAssetV1Constraint
Source§fn default() -> GoogleCloudAssetV1Constraint
fn default() -> GoogleCloudAssetV1Constraint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudAssetV1Constraint
impl<'de> Deserialize<'de> for GoogleCloudAssetV1Constraint
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 GoogleCloudAssetV1Constraint
Auto Trait Implementations§
impl Freeze for GoogleCloudAssetV1Constraint
impl RefUnwindSafe for GoogleCloudAssetV1Constraint
impl Send for GoogleCloudAssetV1Constraint
impl Sync for GoogleCloudAssetV1Constraint
impl Unpin for GoogleCloudAssetV1Constraint
impl UnwindSafe for GoogleCloudAssetV1Constraint
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