#[non_exhaustive]pub struct GetTeamEventsResult {
pub events: Vec<TeamEvent>,
pub cursor: String,
pub has_more: bool,
}Available on crate features
async_routes and dbx_team_log only.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.events: Vec<TeamEvent>List of events. Note that events are not guaranteed to be sorted by their timestamp value.
cursor: StringPass the cursor into get_events_continue() to
obtain additional events. The value of cursor may change for each response from
get_events_continue(), regardless of the value of
has_more; older cursor strings may expire. Thus, callers should ensure that they update
their cursor based on the latest value of cursor after each call, and poll regularly if
they wish to poll for new events. Callers should handle reset exceptions for expired
cursors.
has_more: boolIs true if there may be additional events that have not been returned yet. An additional
call to get_events_continue() can retrieve them.
Note that has_more may be true, even if events is empty.
Implementations§
Trait Implementations§
Source§impl Clone for GetTeamEventsResult
impl Clone for GetTeamEventsResult
Source§fn clone(&self) -> GetTeamEventsResult
fn clone(&self) -> GetTeamEventsResult
Returns a duplicate of the value. Read more
1.0.0 · 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 GetTeamEventsResult
impl Debug for GetTeamEventsResult
Source§impl<'de> Deserialize<'de> for GetTeamEventsResult
impl<'de> Deserialize<'de> for GetTeamEventsResult
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetTeamEventsResult
impl PartialEq for GetTeamEventsResult
Source§impl Serialize for GetTeamEventsResult
impl Serialize for GetTeamEventsResult
impl Eq for GetTeamEventsResult
impl StructuralPartialEq for GetTeamEventsResult
Auto Trait Implementations§
impl Freeze for GetTeamEventsResult
impl RefUnwindSafe for GetTeamEventsResult
impl Send for GetTeamEventsResult
impl Sync for GetTeamEventsResult
impl Unpin for GetTeamEventsResult
impl UnwindSafe for GetTeamEventsResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.