Struct rivet_identity::output::ListActivitiesOutput
source · #[non_exhaustive]pub struct ListActivitiesOutput {
pub identities: Option<Vec<IdentityHandle>>,
pub games: Option<Vec<GameHandle>>,
pub parties: Option<Vec<PartySummary>>,
pub suggested_groups: Option<Vec<GroupSummary>>,
pub suggested_players: Option<Vec<IdentityHandle>>,
pub watch: Option<WatchResponse>,
}
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.identities: Option<Vec<IdentityHandle>>
A list of identity handles.
games: Option<Vec<GameHandle>>
A list of game handles.
parties: Option<Vec<PartySummary>>
A list of party summaries.
suggested_groups: Option<Vec<GroupSummary>>
A list of group summaries.
suggested_players: Option<Vec<IdentityHandle>>
A list of identity handles.
watch: Option<WatchResponse>
Provided by watchable endpoints used in blocking loops.
Implementations
sourceimpl ListActivitiesOutput
impl ListActivitiesOutput
sourcepub fn identities(&self) -> Option<&[IdentityHandle]>
pub fn identities(&self) -> Option<&[IdentityHandle]>
A list of identity handles.
sourcepub fn games(&self) -> Option<&[GameHandle]>
pub fn games(&self) -> Option<&[GameHandle]>
A list of game handles.
sourcepub fn parties(&self) -> Option<&[PartySummary]>
pub fn parties(&self) -> Option<&[PartySummary]>
A list of party summaries.
sourcepub fn suggested_groups(&self) -> Option<&[GroupSummary]>
pub fn suggested_groups(&self) -> Option<&[GroupSummary]>
A list of group summaries.
sourcepub fn suggested_players(&self) -> Option<&[IdentityHandle]>
pub fn suggested_players(&self) -> Option<&[IdentityHandle]>
A list of identity handles.
sourcepub fn watch(&self) -> Option<&WatchResponse>
pub fn watch(&self) -> Option<&WatchResponse>
Provided by watchable endpoints used in blocking loops.
sourceimpl ListActivitiesOutput
impl ListActivitiesOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListActivitiesOutput
Trait Implementations
sourceimpl Clone for ListActivitiesOutput
impl Clone for ListActivitiesOutput
sourcefn clone(&self) -> ListActivitiesOutput
fn clone(&self) -> ListActivitiesOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ListActivitiesOutput
impl Debug for ListActivitiesOutput
sourceimpl PartialEq<ListActivitiesOutput> for ListActivitiesOutput
impl PartialEq<ListActivitiesOutput> for ListActivitiesOutput
sourcefn eq(&self, other: &ListActivitiesOutput) -> bool
fn eq(&self, other: &ListActivitiesOutput) -> bool
impl StructuralPartialEq for ListActivitiesOutput
Auto Trait Implementations
impl RefUnwindSafe for ListActivitiesOutput
impl Send for ListActivitiesOutput
impl Sync for ListActivitiesOutput
impl Unpin for ListActivitiesOutput
impl UnwindSafe for ListActivitiesOutput
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