#[non_exhaustive]pub struct DeleteGroupRequest {
pub name: String,
pub recursive: bool,
/* private fields */
}Expand description
The DeleteGroup request. The default behavior is to be able to delete a
single group without any descendants.
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.name: StringRequired. The group to delete. The format is:
projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]recursive: boolIf this field is true, then the request means to delete a group with all its descendants. Otherwise, the request means to delete a group only when it has no descendants. The default value is false.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteGroupRequest
impl Clone for DeleteGroupRequest
Source§fn clone(&self) -> DeleteGroupRequest
fn clone(&self) -> DeleteGroupRequest
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 DeleteGroupRequest
impl Debug for DeleteGroupRequest
Source§impl Default for DeleteGroupRequest
impl Default for DeleteGroupRequest
Source§fn default() -> DeleteGroupRequest
fn default() -> DeleteGroupRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteGroupRequest
impl Message for DeleteGroupRequest
Source§impl PartialEq for DeleteGroupRequest
impl PartialEq for DeleteGroupRequest
impl StructuralPartialEq for DeleteGroupRequest
Auto Trait Implementations§
impl Freeze for DeleteGroupRequest
impl RefUnwindSafe for DeleteGroupRequest
impl Send for DeleteGroupRequest
impl Sync for DeleteGroupRequest
impl Unpin for DeleteGroupRequest
impl UnwindSafe for DeleteGroupRequest
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