Struct dropbox_sdk::team_log::GetTeamEventsResult
source · [−]#[non_exhaustive]pub struct GetTeamEventsResult {
pub events: Vec<TeamEvent>,
pub cursor: String,
pub has_more: bool,
}dbx_team_log only.Fields (Non-exhaustive)
This struct is marked as non-exhaustive
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
sourceimpl Clone for GetTeamEventsResult
impl Clone for GetTeamEventsResult
sourcefn clone(&self) -> GetTeamEventsResult
fn clone(&self) -> GetTeamEventsResult
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 more
sourceimpl Debug for GetTeamEventsResult
impl Debug for GetTeamEventsResult
sourceimpl<'de> Deserialize<'de> for GetTeamEventsResult
impl<'de> Deserialize<'de> for GetTeamEventsResult
sourcefn 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
sourceimpl PartialEq<GetTeamEventsResult> for GetTeamEventsResult
impl PartialEq<GetTeamEventsResult> for GetTeamEventsResult
sourcefn eq(&self, other: &GetTeamEventsResult) -> bool
fn eq(&self, other: &GetTeamEventsResult) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetTeamEventsResult) -> bool
fn ne(&self, other: &GetTeamEventsResult) -> bool
This method tests for !=.
sourceimpl Serialize for GetTeamEventsResult
impl Serialize for GetTeamEventsResult
impl Eq for GetTeamEventsResult
impl StructuralEq for GetTeamEventsResult
impl StructuralPartialEq for GetTeamEventsResult
Auto Trait Implementations
impl RefUnwindSafe for GetTeamEventsResult
impl Send for GetTeamEventsResult
impl Sync for GetTeamEventsResult
impl Unpin for GetTeamEventsResult
impl UnwindSafe for GetTeamEventsResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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