#[non_exhaustive]pub struct DeleteSpaceRequest {
pub name: String,
pub use_admin_access: bool,
/* private fields */
}Expand description
Request for deleting a space.
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. Resource name of the space to delete.
Format: spaces/{space}
use_admin_access: boolOptional. When true, the method runs using the user’s Google Workspace
administrator privileges.
The calling user must be a Google Workspace administrator with the manage chat and spaces conversations privilege.
Requires the chat.admin.delete OAuth 2.0
scope.
Implementations§
Source§impl DeleteSpaceRequest
impl DeleteSpaceRequest
Trait Implementations§
Source§impl Clone for DeleteSpaceRequest
impl Clone for DeleteSpaceRequest
Source§fn clone(&self) -> DeleteSpaceRequest
fn clone(&self) -> DeleteSpaceRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeleteSpaceRequest
impl Debug for DeleteSpaceRequest
Source§impl Default for DeleteSpaceRequest
impl Default for DeleteSpaceRequest
Source§fn default() -> DeleteSpaceRequest
fn default() -> DeleteSpaceRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteSpaceRequest
impl Message for DeleteSpaceRequest
Source§impl PartialEq for DeleteSpaceRequest
impl PartialEq for DeleteSpaceRequest
impl StructuralPartialEq for DeleteSpaceRequest
Auto Trait Implementations§
impl Freeze for DeleteSpaceRequest
impl RefUnwindSafe for DeleteSpaceRequest
impl Send for DeleteSpaceRequest
impl Sync for DeleteSpaceRequest
impl Unpin for DeleteSpaceRequest
impl UnsafeUnpin for DeleteSpaceRequest
impl UnwindSafe for DeleteSpaceRequest
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