#[non_exhaustive]pub struct UpdateIapSettingsRequest {
pub iap_settings: Option<IapSettings>,
pub update_mask: Option<FieldMask>,
/* private fields */
}Expand description
The request sent to UpdateIapSettings.
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.iap_settings: Option<IapSettings>Required. The new values for the IAP settings to be updated.
Authorization: Requires the updateSettings permission for the associated
resource.
update_mask: Option<FieldMask>The field mask specifying which IAP settings should be updated. If omitted, then all of the settings are updated. See https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
Note: All IAP reauth settings must always be set together, using the
field mask: iapSettings.accessSettings.reauthSettings.
Implementations§
Source§impl UpdateIapSettingsRequest
impl UpdateIapSettingsRequest
pub fn new() -> Self
Sourcepub fn set_iap_settings<T>(self, v: T) -> Selfwhere
T: Into<IapSettings>,
pub fn set_iap_settings<T>(self, v: T) -> Selfwhere
T: Into<IapSettings>,
Sets the value of iap_settings.
Sourcepub fn set_or_clear_iap_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<IapSettings>,
pub fn set_or_clear_iap_settings<T>(self, v: Option<T>) -> Selfwhere
T: Into<IapSettings>,
Sets or clears the value of iap_settings.
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 UpdateIapSettingsRequest
impl Clone for UpdateIapSettingsRequest
Source§fn clone(&self) -> UpdateIapSettingsRequest
fn clone(&self) -> UpdateIapSettingsRequest
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 UpdateIapSettingsRequest
impl Debug for UpdateIapSettingsRequest
Source§impl Default for UpdateIapSettingsRequest
impl Default for UpdateIapSettingsRequest
Source§fn default() -> UpdateIapSettingsRequest
fn default() -> UpdateIapSettingsRequest
Returns the “default value” for a type. Read more
Source§impl Message for UpdateIapSettingsRequest
impl Message for UpdateIapSettingsRequest
Source§impl PartialEq for UpdateIapSettingsRequest
impl PartialEq for UpdateIapSettingsRequest
impl StructuralPartialEq for UpdateIapSettingsRequest
Auto Trait Implementations§
impl Freeze for UpdateIapSettingsRequest
impl RefUnwindSafe for UpdateIapSettingsRequest
impl Send for UpdateIapSettingsRequest
impl Sync for UpdateIapSettingsRequest
impl Unpin for UpdateIapSettingsRequest
impl UnwindSafe for UpdateIapSettingsRequest
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