#[non_exhaustive]pub struct UpdateReleaseConfigRequest {
pub update_mask: Option<FieldMask>,
pub release_config: Option<ReleaseConfig>,
/* private fields */
}Expand description
UpdateReleaseConfig request message.
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.update_mask: Option<FieldMask>Optional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated.
release_config: Option<ReleaseConfig>Required. The release config to update.
Implementations§
Source§impl UpdateReleaseConfigRequest
impl UpdateReleaseConfigRequest
pub fn new() -> Self
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.
Sourcepub fn set_release_config<T>(self, v: T) -> Selfwhere
T: Into<ReleaseConfig>,
pub fn set_release_config<T>(self, v: T) -> Selfwhere
T: Into<ReleaseConfig>,
Sets the value of release_config.
Sourcepub fn set_or_clear_release_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<ReleaseConfig>,
pub fn set_or_clear_release_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<ReleaseConfig>,
Sets or clears the value of release_config.
Trait Implementations§
Source§impl Clone for UpdateReleaseConfigRequest
impl Clone for UpdateReleaseConfigRequest
Source§fn clone(&self) -> UpdateReleaseConfigRequest
fn clone(&self) -> UpdateReleaseConfigRequest
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 UpdateReleaseConfigRequest
impl Debug for UpdateReleaseConfigRequest
Source§impl Default for UpdateReleaseConfigRequest
impl Default for UpdateReleaseConfigRequest
Source§fn default() -> UpdateReleaseConfigRequest
fn default() -> UpdateReleaseConfigRequest
Returns the “default value” for a type. Read more
Source§impl Message for UpdateReleaseConfigRequest
impl Message for UpdateReleaseConfigRequest
impl StructuralPartialEq for UpdateReleaseConfigRequest
Auto Trait Implementations§
impl Freeze for UpdateReleaseConfigRequest
impl RefUnwindSafe for UpdateReleaseConfigRequest
impl Send for UpdateReleaseConfigRequest
impl Sync for UpdateReleaseConfigRequest
impl Unpin for UpdateReleaseConfigRequest
impl UnwindSafe for UpdateReleaseConfigRequest
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