pub struct GoogleCloudOrgpolicyV2ListConstraintsResponse {
pub constraints: Option<Vec<GoogleCloudOrgpolicyV2Constraint>>,
pub next_page_token: Option<String>,
}
Expand description
The response returned from the ListConstraints method.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- constraints list folders (response)
- constraints list organizations (response)
- constraints list projects (response)
Fields§
§constraints: Option<Vec<GoogleCloudOrgpolicyV2Constraint>>
The collection of constraints that are available on the targeted resource.
next_page_token: Option<String>
Page token used to retrieve the next page. This is currently not used.
Trait Implementations§
source§impl Clone for GoogleCloudOrgpolicyV2ListConstraintsResponse
impl Clone for GoogleCloudOrgpolicyV2ListConstraintsResponse
source§fn clone(&self) -> GoogleCloudOrgpolicyV2ListConstraintsResponse
fn clone(&self) -> GoogleCloudOrgpolicyV2ListConstraintsResponse
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 Default for GoogleCloudOrgpolicyV2ListConstraintsResponse
impl Default for GoogleCloudOrgpolicyV2ListConstraintsResponse
source§fn default() -> GoogleCloudOrgpolicyV2ListConstraintsResponse
fn default() -> GoogleCloudOrgpolicyV2ListConstraintsResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudOrgpolicyV2ListConstraintsResponse
impl<'de> Deserialize<'de> for GoogleCloudOrgpolicyV2ListConstraintsResponse
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 ResponseResult for GoogleCloudOrgpolicyV2ListConstraintsResponse
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudOrgpolicyV2ListConstraintsResponse
impl Send for GoogleCloudOrgpolicyV2ListConstraintsResponse
impl Sync for GoogleCloudOrgpolicyV2ListConstraintsResponse
impl Unpin for GoogleCloudOrgpolicyV2ListConstraintsResponse
impl UnwindSafe for GoogleCloudOrgpolicyV2ListConstraintsResponse
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