pub struct GetNotificationsParamsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<S: State> GetNotificationsParamsBuilder<S>
impl<S: State> GetNotificationsParamsBuilder<S>
Sourcepub fn build(self) -> GetNotificationsParamswhere
S: IsComplete,
pub fn build(self) -> GetNotificationsParamswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn webhook_id(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetWebhookId<S>>where
S::WebhookId: IsUnset,
pub fn webhook_id(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetWebhookId<S>>where
S::WebhookId: IsUnset,
Required.
Sourcepub fn order(self, value: String) -> GetNotificationsParamsBuilder<SetOrder<S>>where
S::Order: IsUnset,
pub fn order(self, value: String) -> GetNotificationsParamsBuilder<SetOrder<S>>where
S::Order: IsUnset,
Sourcepub fn maybe_order(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetOrder<S>>where
S::Order: IsUnset,
pub fn maybe_order(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetOrder<S>>where
S::Order: IsUnset,
Sourcepub fn page_cursor(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetPageCursor<S>>where
S::PageCursor: IsUnset,
pub fn page_cursor(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetPageCursor<S>>where
S::PageCursor: IsUnset,
Sourcepub fn maybe_page_cursor(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetPageCursor<S>>where
S::PageCursor: IsUnset,
pub fn maybe_page_cursor(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetPageCursor<S>>where
S::PageCursor: IsUnset,
Sourcepub fn page_size(
self,
value: f64,
) -> GetNotificationsParamsBuilder<SetPageSize<S>>where
S::PageSize: IsUnset,
pub fn page_size(
self,
value: f64,
) -> GetNotificationsParamsBuilder<SetPageSize<S>>where
S::PageSize: IsUnset,
Sourcepub fn maybe_page_size(
self,
value: Option<f64>,
) -> GetNotificationsParamsBuilder<SetPageSize<S>>where
S::PageSize: IsUnset,
pub fn maybe_page_size(
self,
value: Option<f64>,
) -> GetNotificationsParamsBuilder<SetPageSize<S>>where
S::PageSize: IsUnset,
Sourcepub fn created_start_date(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetCreatedStartDate<S>>where
S::CreatedStartDate: IsUnset,
pub fn created_start_date(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetCreatedStartDate<S>>where
S::CreatedStartDate: IsUnset,
Sourcepub fn maybe_created_start_date(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetCreatedStartDate<S>>where
S::CreatedStartDate: IsUnset,
pub fn maybe_created_start_date(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetCreatedStartDate<S>>where
S::CreatedStartDate: IsUnset,
Sourcepub fn created_end_date(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetCreatedEndDate<S>>where
S::CreatedEndDate: IsUnset,
pub fn created_end_date(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetCreatedEndDate<S>>where
S::CreatedEndDate: IsUnset,
Sourcepub fn maybe_created_end_date(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetCreatedEndDate<S>>where
S::CreatedEndDate: IsUnset,
pub fn maybe_created_end_date(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetCreatedEndDate<S>>where
S::CreatedEndDate: IsUnset,
Sourcepub fn statuses(
self,
value: Vec<NotificationStatus>,
) -> GetNotificationsParamsBuilder<SetStatuses<S>>where
S::Statuses: IsUnset,
pub fn statuses(
self,
value: Vec<NotificationStatus>,
) -> GetNotificationsParamsBuilder<SetStatuses<S>>where
S::Statuses: IsUnset,
Sourcepub fn maybe_statuses(
self,
value: Option<Vec<NotificationStatus>>,
) -> GetNotificationsParamsBuilder<SetStatuses<S>>where
S::Statuses: IsUnset,
pub fn maybe_statuses(
self,
value: Option<Vec<NotificationStatus>>,
) -> GetNotificationsParamsBuilder<SetStatuses<S>>where
S::Statuses: IsUnset,
Sourcepub fn event_types(
self,
value: Vec<WebhookEvent>,
) -> GetNotificationsParamsBuilder<SetEventTypes<S>>where
S::EventTypes: IsUnset,
pub fn event_types(
self,
value: Vec<WebhookEvent>,
) -> GetNotificationsParamsBuilder<SetEventTypes<S>>where
S::EventTypes: IsUnset,
Sourcepub fn maybe_event_types(
self,
value: Option<Vec<WebhookEvent>>,
) -> GetNotificationsParamsBuilder<SetEventTypes<S>>where
S::EventTypes: IsUnset,
pub fn maybe_event_types(
self,
value: Option<Vec<WebhookEvent>>,
) -> GetNotificationsParamsBuilder<SetEventTypes<S>>where
S::EventTypes: IsUnset,
Sourcepub fn resource_id(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetResourceId<S>>where
S::ResourceId: IsUnset,
pub fn resource_id(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetResourceId<S>>where
S::ResourceId: IsUnset,
Sourcepub fn maybe_resource_id(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetResourceId<S>>where
S::ResourceId: IsUnset,
pub fn maybe_resource_id(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetResourceId<S>>where
S::ResourceId: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for GetNotificationsParamsBuilder<S>
impl<S> RefUnwindSafe for GetNotificationsParamsBuilder<S>
impl<S> Send for GetNotificationsParamsBuilder<S>
impl<S> Sync for GetNotificationsParamsBuilder<S>
impl<S> Unpin for GetNotificationsParamsBuilder<S>
impl<S> UnwindSafe for GetNotificationsParamsBuilder<S>
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