Struct google_chat1::Space
source · pub struct Space {
pub display_name: Option<String>,
pub type_: Option<String>,
pub name: Option<String>,
}
Expand description
A room or DM in Hangouts Chat.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list spaces (none)
- messages get spaces (none)
- get spaces (response)
- messages update spaces (none)
- members list spaces (none)
- members get spaces (none)
- messages delete spaces (none)
- messages create spaces (none)
Fields
display_name: Option<String>
Output only. The display name (only if the space is a room).
type_: Option<String>
Output only. The type of a space.
name: Option<String>
Resource name of the space, in the form “spaces/*”.
Example: spaces/AAAAMpdlehYs
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Space
impl<'de> Deserialize<'de> for Space
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Resource for Space
impl ResponseResult for Space
Auto Trait Implementations
impl RefUnwindSafe for Space
impl Send for Space
impl Sync for Space
impl Unpin for Space
impl UnwindSafe for Space
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more