#[non_exhaustive]pub struct ListSpaceEventsResponse {
pub space_events: Vec<SpaceEvent>,
pub next_page_token: String,
/* private fields */
}Expand description
Response message for listing space events.
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.space_events: Vec<SpaceEvent>Results are returned in chronological order (oldest event first).
Note: The permissionSettings field is not returned in the Space
object for list requests.
next_page_token: StringContinuation token used to fetch more events. If this field is omitted, there are no subsequent pages.
Implementations§
Source§impl ListSpaceEventsResponse
impl ListSpaceEventsResponse
Sourcepub fn set_space_events<T, V>(self, v: T) -> Self
pub fn set_space_events<T, V>(self, v: T) -> Self
Sets the value of space_events.
§Example
ⓘ
use google_chat_v1::model::SpaceEvent;
let x = ListSpaceEventsResponse::new()
.set_space_events([
SpaceEvent::default()/* use setters */,
SpaceEvent::default()/* use (different) setters */,
]);Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
§Example
ⓘ
let x = ListSpaceEventsResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListSpaceEventsResponse
impl Clone for ListSpaceEventsResponse
Source§fn clone(&self) -> ListSpaceEventsResponse
fn clone(&self) -> ListSpaceEventsResponse
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 ListSpaceEventsResponse
impl Debug for ListSpaceEventsResponse
Source§impl Default for ListSpaceEventsResponse
impl Default for ListSpaceEventsResponse
Source§fn default() -> ListSpaceEventsResponse
fn default() -> ListSpaceEventsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListSpaceEventsResponse
impl Message for ListSpaceEventsResponse
Source§impl PartialEq for ListSpaceEventsResponse
impl PartialEq for ListSpaceEventsResponse
impl StructuralPartialEq for ListSpaceEventsResponse
Auto Trait Implementations§
impl Freeze for ListSpaceEventsResponse
impl RefUnwindSafe for ListSpaceEventsResponse
impl Send for ListSpaceEventsResponse
impl Sync for ListSpaceEventsResponse
impl Unpin for ListSpaceEventsResponse
impl UnsafeUnpin for ListSpaceEventsResponse
impl UnwindSafe for ListSpaceEventsResponse
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