#[non_exhaustive]pub struct GetSpaceRequest {
pub name: String,
pub use_admin_access: bool,
/* private fields */
}Expand description
A request to return a single 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, in the form spaces/{space}.
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.spaces or chat.admin.spaces.readonly OAuth 2.0
scopes.
Implementations§
Source§impl GetSpaceRequest
impl GetSpaceRequest
Trait Implementations§
Source§impl Clone for GetSpaceRequest
impl Clone for GetSpaceRequest
Source§fn clone(&self) -> GetSpaceRequest
fn clone(&self) -> GetSpaceRequest
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 GetSpaceRequest
impl Debug for GetSpaceRequest
Source§impl Default for GetSpaceRequest
impl Default for GetSpaceRequest
Source§fn default() -> GetSpaceRequest
fn default() -> GetSpaceRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetSpaceRequest
impl Message for GetSpaceRequest
Source§impl PartialEq for GetSpaceRequest
impl PartialEq for GetSpaceRequest
impl StructuralPartialEq for GetSpaceRequest
Auto Trait Implementations§
impl Freeze for GetSpaceRequest
impl RefUnwindSafe for GetSpaceRequest
impl Send for GetSpaceRequest
impl Sync for GetSpaceRequest
impl Unpin for GetSpaceRequest
impl UnsafeUnpin for GetSpaceRequest
impl UnwindSafe for GetSpaceRequest
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