pub struct GetNotificationsParams {
pub webhook_id: String,
pub order: Option<String>,
pub page_cursor: Option<String>,
pub page_size: Option<f64>,
pub created_start_date: Option<String>,
pub created_end_date: Option<String>,
pub statuses: Option<Vec<NotificationStatus>>,
pub event_types: Option<Vec<WebhookEvent>>,
pub resource_id: Option<String>,
}
Expand description
struct for passing parameters to the method [get_notifications
]
Fields§
§webhook_id: String
§order: Option<String>
ASC / DESC ordering (default DESC)
page_cursor: Option<String>
Cursor of the required page
page_size: Option<f64>
Maximum number of items in the page
created_start_date: Option<String>
sort by start date
created_end_date: Option<String>
sort by end date
statuses: Option<Vec<NotificationStatus>>
Filter by Notification statues
event_types: Option<Vec<WebhookEvent>>
Filter by Notification eventTypes
resource_id: Option<String>
Filter by resourceId
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 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 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