pub struct GetNotificationsParams {
pub webhook_id: String,
pub order: Option<String>,
pub sort_by: Option<String>,
pub page_cursor: Option<String>,
pub page_size: Option<f64>,
pub start_time: Option<String>,
pub end_time: Option<String>,
pub statuses: Option<Vec<NotificationStatus>>,
pub events: Option<Vec<WebhookEvent>>,
pub resource_id: Option<String>,
}Expand description
struct for passing parameters to the method
WebhooksV2Api::get_notifications
Fields§
§webhook_id: String§order: Option<String>ASC / DESC ordering (default DESC)
sort_by: Option<String>Sort by field (id, createdAt, updatedAt, status, eventType, resourceId)
page_cursor: Option<String>Cursor of the required page
page_size: Option<f64>Maximum number of items on the page
start_time: Option<String>Start time in milliseconds since epoch to filter by notifications created after this time (default 31 days ago)
end_time: Option<String>End time in milliseconds since epoch to filter by notifications created before this time (default current time)
statuses: Option<Vec<NotificationStatus>>List of notification statuses to filter by
events: Option<Vec<WebhookEvent>>List of webhook event types to filter by
resource_id: Option<String>Resource ID to filter by
Implementations§
Source§impl GetNotificationsParams
impl GetNotificationsParams
Sourcepub fn builder() -> GetNotificationsParamsBuilder
pub fn builder() -> GetNotificationsParamsBuilder
Create an instance of GetNotificationsParams using the builder syntax
Trait Implementations§
Source§impl Clone for GetNotificationsParams
impl Clone for GetNotificationsParams
Source§fn clone(&self) -> GetNotificationsParams
fn clone(&self) -> GetNotificationsParams
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 moreAuto Trait Implementations§
impl Freeze for GetNotificationsParams
impl RefUnwindSafe for GetNotificationsParams
impl Send for GetNotificationsParams
impl Sync for GetNotificationsParams
impl Unpin for GetNotificationsParams
impl UnwindSafe for GetNotificationsParams
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