#[non_exhaustive]pub struct TroubleshootIamPolicyRequest {
pub access_tuple: Option<AccessTuple>,
/* private fields */
}Expand description
Request for TroubleshootIamPolicy.
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.access_tuple: Option<AccessTuple>The information to use for checking whether a principal has a permission for a resource.
Implementations§
Source§impl TroubleshootIamPolicyRequest
impl TroubleshootIamPolicyRequest
pub fn new() -> Self
Sourcepub fn set_access_tuple<T>(self, v: T) -> Selfwhere
T: Into<AccessTuple>,
pub fn set_access_tuple<T>(self, v: T) -> Selfwhere
T: Into<AccessTuple>,
Sets the value of access_tuple.
Sourcepub fn set_or_clear_access_tuple<T>(self, v: Option<T>) -> Selfwhere
T: Into<AccessTuple>,
pub fn set_or_clear_access_tuple<T>(self, v: Option<T>) -> Selfwhere
T: Into<AccessTuple>,
Sets or clears the value of access_tuple.
Trait Implementations§
Source§impl Clone for TroubleshootIamPolicyRequest
impl Clone for TroubleshootIamPolicyRequest
Source§fn clone(&self) -> TroubleshootIamPolicyRequest
fn clone(&self) -> TroubleshootIamPolicyRequest
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 TroubleshootIamPolicyRequest
impl Debug for TroubleshootIamPolicyRequest
Source§impl Default for TroubleshootIamPolicyRequest
impl Default for TroubleshootIamPolicyRequest
Source§fn default() -> TroubleshootIamPolicyRequest
fn default() -> TroubleshootIamPolicyRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for TroubleshootIamPolicyRequest
impl PartialEq for TroubleshootIamPolicyRequest
Source§fn eq(&self, other: &TroubleshootIamPolicyRequest) -> bool
fn eq(&self, other: &TroubleshootIamPolicyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TroubleshootIamPolicyRequest
Auto Trait Implementations§
impl Freeze for TroubleshootIamPolicyRequest
impl RefUnwindSafe for TroubleshootIamPolicyRequest
impl Send for TroubleshootIamPolicyRequest
impl Sync for TroubleshootIamPolicyRequest
impl Unpin for TroubleshootIamPolicyRequest
impl UnwindSafe for TroubleshootIamPolicyRequest
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