#[non_exhaustive]pub struct ListReactionsResponse {
pub reactions: Vec<Reaction>,
pub next_page_token: String,
/* private fields */
}Expand description
Response to a list reactions request.
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.reactions: Vec<Reaction>List of reactions in the requested (or first) page.
next_page_token: StringContinuation token to retrieve the next page of results. It’s empty for the last page of results.
Implementations§
Source§impl ListReactionsResponse
impl ListReactionsResponse
Sourcepub fn set_reactions<T, V>(self, v: T) -> Self
pub fn set_reactions<T, V>(self, v: T) -> Self
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 = ListReactionsResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListReactionsResponse
impl Clone for ListReactionsResponse
Source§fn clone(&self) -> ListReactionsResponse
fn clone(&self) -> ListReactionsResponse
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 ListReactionsResponse
impl Debug for ListReactionsResponse
Source§impl Default for ListReactionsResponse
impl Default for ListReactionsResponse
Source§fn default() -> ListReactionsResponse
fn default() -> ListReactionsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListReactionsResponse
impl Message for ListReactionsResponse
Source§impl PartialEq for ListReactionsResponse
impl PartialEq for ListReactionsResponse
impl StructuralPartialEq for ListReactionsResponse
Auto Trait Implementations§
impl Freeze for ListReactionsResponse
impl RefUnwindSafe for ListReactionsResponse
impl Send for ListReactionsResponse
impl Sync for ListReactionsResponse
impl Unpin for ListReactionsResponse
impl UnsafeUnpin for ListReactionsResponse
impl UnwindSafe for ListReactionsResponse
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