#[non_exhaustive]pub struct UpdateGcpUserAccessBindingRequest {
pub gcp_user_access_binding: Option<GcpUserAccessBinding>,
pub update_mask: Option<FieldMask>,
/* private fields */
}Expand description
Request of [UpdateGcpUserAccessBinding] [google.identity.accesscontextmanager.v1.AccessContextManager.UpdateGcpUserAccessBinding].
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.gcp_user_access_binding: Option<GcpUserAccessBinding>Required. GcpUserAccessBinding [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]
update_mask: Option<FieldMask>Required. Only the fields specified in this mask are updated. Because name and group_key cannot be changed, update_mask is required and must always be:
update_mask { paths: “access_levels” }
Implementations§
Source§impl UpdateGcpUserAccessBindingRequest
impl UpdateGcpUserAccessBindingRequest
pub fn new() -> Self
Sourcepub fn set_gcp_user_access_binding<T>(self, v: T) -> Selfwhere
T: Into<GcpUserAccessBinding>,
pub fn set_gcp_user_access_binding<T>(self, v: T) -> Selfwhere
T: Into<GcpUserAccessBinding>,
Sets the value of gcp_user_access_binding.
Sourcepub fn set_or_clear_gcp_user_access_binding<T>(self, v: Option<T>) -> Selfwhere
T: Into<GcpUserAccessBinding>,
pub fn set_or_clear_gcp_user_access_binding<T>(self, v: Option<T>) -> Selfwhere
T: Into<GcpUserAccessBinding>,
Sets or clears the value of gcp_user_access_binding.
Sourcepub fn set_update_mask<T>(self, v: T) -> Self
pub fn set_update_mask<T>(self, v: T) -> Self
Sets the value of update_mask.
Sourcepub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_mask.
Trait Implementations§
Source§impl Clone for UpdateGcpUserAccessBindingRequest
impl Clone for UpdateGcpUserAccessBindingRequest
Source§fn clone(&self) -> UpdateGcpUserAccessBindingRequest
fn clone(&self) -> UpdateGcpUserAccessBindingRequest
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 UpdateGcpUserAccessBindingRequest
impl Default for UpdateGcpUserAccessBindingRequest
Source§fn default() -> UpdateGcpUserAccessBindingRequest
fn default() -> UpdateGcpUserAccessBindingRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateGcpUserAccessBindingRequest
impl PartialEq for UpdateGcpUserAccessBindingRequest
Source§fn eq(&self, other: &UpdateGcpUserAccessBindingRequest) -> bool
fn eq(&self, other: &UpdateGcpUserAccessBindingRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateGcpUserAccessBindingRequest
Auto Trait Implementations§
impl Freeze for UpdateGcpUserAccessBindingRequest
impl RefUnwindSafe for UpdateGcpUserAccessBindingRequest
impl Send for UpdateGcpUserAccessBindingRequest
impl Sync for UpdateGcpUserAccessBindingRequest
impl Unpin for UpdateGcpUserAccessBindingRequest
impl UnwindSafe for UpdateGcpUserAccessBindingRequest
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