#[non_exhaustive]pub struct GetSpaceReadStateRequest {
pub name: String,
/* private fields */
}Expand description
Request message for GetSpaceReadState API.
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 read state to retrieve.
Only supports getting read state for the calling user.
To refer to the calling user, set one of the following:
-
The
mealias. For example,users/me/spaces/{space}/spaceReadState. -
Their Workspace email address. For example,
users/user@example.com/spaces/{space}/spaceReadState. -
Their user id. For example,
users/123456789/spaces/{space}/spaceReadState.
Format: users/{user}/spaces/{space}/spaceReadState
Implementations§
Trait Implementations§
Source§impl Clone for GetSpaceReadStateRequest
impl Clone for GetSpaceReadStateRequest
Source§fn clone(&self) -> GetSpaceReadStateRequest
fn clone(&self) -> GetSpaceReadStateRequest
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 GetSpaceReadStateRequest
impl Debug for GetSpaceReadStateRequest
Source§impl Default for GetSpaceReadStateRequest
impl Default for GetSpaceReadStateRequest
Source§fn default() -> GetSpaceReadStateRequest
fn default() -> GetSpaceReadStateRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetSpaceReadStateRequest
impl Message for GetSpaceReadStateRequest
Source§impl PartialEq for GetSpaceReadStateRequest
impl PartialEq for GetSpaceReadStateRequest
impl StructuralPartialEq for GetSpaceReadStateRequest
Auto Trait Implementations§
impl Freeze for GetSpaceReadStateRequest
impl RefUnwindSafe for GetSpaceReadStateRequest
impl Send for GetSpaceReadStateRequest
impl Sync for GetSpaceReadStateRequest
impl Unpin for GetSpaceReadStateRequest
impl UnsafeUnpin for GetSpaceReadStateRequest
impl UnwindSafe for GetSpaceReadStateRequest
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