Struct dropbox_sdk::team_log::GetTeamEventsArg
source · [−]#[non_exhaustive]pub struct GetTeamEventsArg {
pub limit: u32,
pub account_id: Option<AccountId>,
pub time: Option<TimeRange>,
pub category: Option<EventCategory>,
pub event_type: Option<EventTypeArg>,
}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.limit: u32The maximal number of results to return per call. Note that some calls may not return
limit number of events, and may even return no events, even with has_more set to true.
In this case, callers should fetch again using
get_events_continue().
account_id: Option<AccountId>Filter the events by account ID. Return only events with this account_id as either Actor, Context, or Participants.
time: Option<TimeRange>Filter by time range.
category: Option<EventCategory>Filter the returned events to a single category. Note that category shouldn’t be provided together with event_type.
event_type: Option<EventTypeArg>Filter the returned events to a single event type. Note that event_type shouldn’t be provided together with category.
Implementations
sourceimpl GetTeamEventsArg
impl GetTeamEventsArg
pub fn with_limit(self, value: u32) -> Self
pub fn with_account_id(self, value: AccountId) -> Self
pub fn with_time(self, value: TimeRange) -> Self
pub fn with_category(self, value: EventCategory) -> Self
pub fn with_event_type(self, value: EventTypeArg) -> Self
Trait Implementations
sourceimpl Clone for GetTeamEventsArg
impl Clone for GetTeamEventsArg
sourcefn clone(&self) -> GetTeamEventsArg
fn clone(&self) -> GetTeamEventsArg
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 GetTeamEventsArg
impl Debug for GetTeamEventsArg
sourceimpl Default for GetTeamEventsArg
impl Default for GetTeamEventsArg
sourceimpl<'de> Deserialize<'de> for GetTeamEventsArg
impl<'de> Deserialize<'de> for GetTeamEventsArg
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<GetTeamEventsArg> for GetTeamEventsArg
impl PartialEq<GetTeamEventsArg> for GetTeamEventsArg
sourcefn eq(&self, other: &GetTeamEventsArg) -> bool
fn eq(&self, other: &GetTeamEventsArg) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetTeamEventsArg) -> bool
fn ne(&self, other: &GetTeamEventsArg) -> bool
This method tests for !=.
sourceimpl Serialize for GetTeamEventsArg
impl Serialize for GetTeamEventsArg
impl Eq for GetTeamEventsArg
impl StructuralEq for GetTeamEventsArg
impl StructuralPartialEq for GetTeamEventsArg
Auto Trait Implementations
impl RefUnwindSafe for GetTeamEventsArg
impl Send for GetTeamEventsArg
impl Sync for GetTeamEventsArg
impl Unpin for GetTeamEventsArg
impl UnwindSafe for GetTeamEventsArg
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