#[non_exhaustive]pub struct UpdateTeamFolderRequest {
pub update_mask: Option<FieldMask>,
pub team_folder: Option<TeamFolder>,
/* private fields */
}Expand description
UpdateTeamFolder 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 Folder. If left unset, all fields will be updated.
team_folder: Option<TeamFolder>Required. The updated TeamFolder.
Implementations§
Source§impl UpdateTeamFolderRequest
impl UpdateTeamFolderRequest
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.
§Example
ⓘ
use wkt::FieldMask;
let x = UpdateTeamFolderRequest::new().set_update_mask(FieldMask::default()/* use setters */);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.
§Example
ⓘ
use wkt::FieldMask;
let x = UpdateTeamFolderRequest::new().set_or_clear_update_mask(Some(FieldMask::default()/* use setters */));
let x = UpdateTeamFolderRequest::new().set_or_clear_update_mask(None::<FieldMask>);Sourcepub fn set_team_folder<T>(self, v: T) -> Selfwhere
T: Into<TeamFolder>,
pub fn set_team_folder<T>(self, v: T) -> Selfwhere
T: Into<TeamFolder>,
Sets the value of team_folder.
§Example
ⓘ
use google_cloud_dataform_v1::model::TeamFolder;
let x = UpdateTeamFolderRequest::new().set_team_folder(TeamFolder::default()/* use setters */);Sourcepub fn set_or_clear_team_folder<T>(self, v: Option<T>) -> Selfwhere
T: Into<TeamFolder>,
pub fn set_or_clear_team_folder<T>(self, v: Option<T>) -> Selfwhere
T: Into<TeamFolder>,
Sets or clears the value of team_folder.
§Example
ⓘ
use google_cloud_dataform_v1::model::TeamFolder;
let x = UpdateTeamFolderRequest::new().set_or_clear_team_folder(Some(TeamFolder::default()/* use setters */));
let x = UpdateTeamFolderRequest::new().set_or_clear_team_folder(None::<TeamFolder>);Trait Implementations§
Source§impl Clone for UpdateTeamFolderRequest
impl Clone for UpdateTeamFolderRequest
Source§fn clone(&self) -> UpdateTeamFolderRequest
fn clone(&self) -> UpdateTeamFolderRequest
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 UpdateTeamFolderRequest
impl Debug for UpdateTeamFolderRequest
Source§impl Default for UpdateTeamFolderRequest
impl Default for UpdateTeamFolderRequest
Source§fn default() -> UpdateTeamFolderRequest
fn default() -> UpdateTeamFolderRequest
Returns the “default value” for a type. Read more
Source§impl Message for UpdateTeamFolderRequest
impl Message for UpdateTeamFolderRequest
Source§impl PartialEq for UpdateTeamFolderRequest
impl PartialEq for UpdateTeamFolderRequest
impl StructuralPartialEq for UpdateTeamFolderRequest
Auto Trait Implementations§
impl Freeze for UpdateTeamFolderRequest
impl RefUnwindSafe for UpdateTeamFolderRequest
impl Send for UpdateTeamFolderRequest
impl Sync for UpdateTeamFolderRequest
impl Unpin for UpdateTeamFolderRequest
impl UnsafeUnpin for UpdateTeamFolderRequest
impl UnwindSafe for UpdateTeamFolderRequest
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