#[non_exhaustive]pub struct AnalyzeOrgPolicyGovernedContainersResponse {
pub governed_containers: Vec<GovernedContainer>,
pub constraint: Option<AnalyzerOrgPolicyConstraint>,
pub next_page_token: String,
/* private fields */
}Expand description
The response message for AssetService.AnalyzeOrgPolicyGovernedContainers.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.governed_containers: Vec<GovernedContainer>The list of the analyzed governed containers.
constraint: Option<AnalyzerOrgPolicyConstraint>The definition of the constraint in the request.
next_page_token: StringThe page token to fetch the next page for AnalyzeOrgPolicyGovernedContainersResponse.governed_containers.
Implementations§
Source§impl AnalyzeOrgPolicyGovernedContainersResponse
impl AnalyzeOrgPolicyGovernedContainersResponse
pub fn new() -> Self
Sourcepub fn set_governed_containers<T, V>(self, v: T) -> Self
pub fn set_governed_containers<T, V>(self, v: T) -> Self
Sets the value of governed_containers.
Sourcepub fn set_constraint<T>(self, v: T) -> Selfwhere
T: Into<AnalyzerOrgPolicyConstraint>,
pub fn set_constraint<T>(self, v: T) -> Selfwhere
T: Into<AnalyzerOrgPolicyConstraint>,
Sets the value of constraint.
Sourcepub fn set_or_clear_constraint<T>(self, v: Option<T>) -> Selfwhere
T: Into<AnalyzerOrgPolicyConstraint>,
pub fn set_or_clear_constraint<T>(self, v: Option<T>) -> Selfwhere
T: Into<AnalyzerOrgPolicyConstraint>,
Sets or clears the value of constraint.
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
Trait Implementations§
Source§impl Clone for AnalyzeOrgPolicyGovernedContainersResponse
impl Clone for AnalyzeOrgPolicyGovernedContainersResponse
Source§fn clone(&self) -> AnalyzeOrgPolicyGovernedContainersResponse
fn clone(&self) -> AnalyzeOrgPolicyGovernedContainersResponse
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 AnalyzeOrgPolicyGovernedContainersResponse
impl Default for AnalyzeOrgPolicyGovernedContainersResponse
Source§fn default() -> AnalyzeOrgPolicyGovernedContainersResponse
fn default() -> AnalyzeOrgPolicyGovernedContainersResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for AnalyzeOrgPolicyGovernedContainersResponse
impl PartialEq for AnalyzeOrgPolicyGovernedContainersResponse
Source§fn eq(&self, other: &AnalyzeOrgPolicyGovernedContainersResponse) -> bool
fn eq(&self, other: &AnalyzeOrgPolicyGovernedContainersResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnalyzeOrgPolicyGovernedContainersResponse
Auto Trait Implementations§
impl Freeze for AnalyzeOrgPolicyGovernedContainersResponse
impl RefUnwindSafe for AnalyzeOrgPolicyGovernedContainersResponse
impl Send for AnalyzeOrgPolicyGovernedContainersResponse
impl Sync for AnalyzeOrgPolicyGovernedContainersResponse
impl Unpin for AnalyzeOrgPolicyGovernedContainersResponse
impl UnwindSafe for AnalyzeOrgPolicyGovernedContainersResponse
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