Struct fastly_api::apis::events_api::ListEventsParams
source · pub struct ListEventsParams {
pub filter_customer_id: Option<String>,
pub filter_event_type: Option<String>,
pub filter_service_id: Option<String>,
pub filter_user_id: Option<String>,
pub filter_token_id: Option<String>,
pub filter_created_at: Option<String>,
pub page_number: Option<i32>,
pub page_size: Option<i32>,
pub sort: Option<String>,
}
Expand description
struct for passing parameters to the method list_events
Fields§
§filter_customer_id: Option<String>
Limit the results returned to a specific customer.
filter_event_type: Option<String>
Limit the returned events to a specific event_type
.
filter_service_id: Option<String>
Limit the results returned to a specific service.
filter_user_id: Option<String>
Limit the results returned to a specific user.
filter_token_id: Option<String>
Limit the returned events to a specific token.
filter_created_at: Option<String>
Limit the returned events to a specific time frame. Accepts sub-parameters: lt, lte, gt, gte (e.g., filter[created_at][gt]=2022-01-12).
page_number: Option<i32>
Current page.
page_size: Option<i32>
Number of records per page.
sort: Option<String>
The order in which to list the results by creation date.
Trait Implementations§
source§impl Clone for ListEventsParams
impl Clone for ListEventsParams
source§fn clone(&self) -> ListEventsParams
fn clone(&self) -> ListEventsParams
Returns a copy 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 ListEventsParams
impl Debug for ListEventsParams
source§impl Default for ListEventsParams
impl Default for ListEventsParams
source§fn default() -> ListEventsParams
fn default() -> ListEventsParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ListEventsParams
impl Send for ListEventsParams
impl Sync for ListEventsParams
impl Unpin for ListEventsParams
impl UnwindSafe for ListEventsParams
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