#[non_exhaustive]pub struct IamBinding {
pub action: Action,
pub role: String,
pub member: String,
/* private fields */
}Expand description
Represents a particular IAM binding, which captures a member’s role addition, removal, or state.
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.action: ActionThe action that was performed on a Binding.
role: StringRole that is assigned to “members”. For example, “roles/viewer”, “roles/editor”, or “roles/owner”.
member: StringA single identity requesting access for a Cloud Platform resource, for example, “foo@google.com”.
Implementations§
Trait Implementations§
Source§impl Clone for IamBinding
impl Clone for IamBinding
Source§fn clone(&self) -> IamBinding
fn clone(&self) -> IamBinding
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 IamBinding
impl Debug for IamBinding
Source§impl Default for IamBinding
impl Default for IamBinding
Source§fn default() -> IamBinding
fn default() -> IamBinding
Returns the “default value” for a type. Read more
Source§impl PartialEq for IamBinding
impl PartialEq for IamBinding
impl StructuralPartialEq for IamBinding
Auto Trait Implementations§
impl Freeze for IamBinding
impl RefUnwindSafe for IamBinding
impl Send for IamBinding
impl Sync for IamBinding
impl Unpin for IamBinding
impl UnwindSafe for IamBinding
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