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 sort_by(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetSortBy<S>>where
S::SortBy: IsUnset,
pub fn sort_by(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetSortBy<S>>where
S::SortBy: IsUnset,
Sourcepub fn maybe_sort_by(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetSortBy<S>>where
S::SortBy: IsUnset,
pub fn maybe_sort_by(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetSortBy<S>>where
S::SortBy: 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 start_time(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetStartTime<S>>where
S::StartTime: IsUnset,
pub fn start_time(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetStartTime<S>>where
S::StartTime: IsUnset,
Sourcepub fn maybe_start_time(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetStartTime<S>>where
S::StartTime: IsUnset,
pub fn maybe_start_time(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetStartTime<S>>where
S::StartTime: IsUnset,
Sourcepub fn end_time(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetEndTime<S>>where
S::EndTime: IsUnset,
pub fn end_time(
self,
value: String,
) -> GetNotificationsParamsBuilder<SetEndTime<S>>where
S::EndTime: IsUnset,
Sourcepub fn maybe_end_time(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetEndTime<S>>where
S::EndTime: IsUnset,
pub fn maybe_end_time(
self,
value: Option<String>,
) -> GetNotificationsParamsBuilder<SetEndTime<S>>where
S::EndTime: 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 events(
self,
value: Vec<WebhookEvent>,
) -> GetNotificationsParamsBuilder<SetEvents<S>>where
S::Events: IsUnset,
pub fn events(
self,
value: Vec<WebhookEvent>,
) -> GetNotificationsParamsBuilder<SetEvents<S>>where
S::Events: IsUnset,
Sourcepub fn maybe_events(
self,
value: Option<Vec<WebhookEvent>>,
) -> GetNotificationsParamsBuilder<SetEvents<S>>where
S::Events: IsUnset,
pub fn maybe_events(
self,
value: Option<Vec<WebhookEvent>>,
) -> GetNotificationsParamsBuilder<SetEvents<S>>where
S::Events: 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