pub struct GetNotificationParamsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<S: State> GetNotificationParamsBuilder<S>
impl<S: State> GetNotificationParamsBuilder<S>
Sourcepub fn build(self) -> GetNotificationParamswhere
S: IsComplete,
pub fn build(self) -> GetNotificationParamswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn webhook_id(
self,
value: String,
) -> GetNotificationParamsBuilder<SetWebhookId<S>>where
S::WebhookId: IsUnset,
pub fn webhook_id(
self,
value: String,
) -> GetNotificationParamsBuilder<SetWebhookId<S>>where
S::WebhookId: IsUnset,
Required.
The ID of the webhook to fetch
Sourcepub fn notification_id(
self,
value: String,
) -> GetNotificationParamsBuilder<SetNotificationId<S>>where
S::NotificationId: IsUnset,
pub fn notification_id(
self,
value: String,
) -> GetNotificationParamsBuilder<SetNotificationId<S>>where
S::NotificationId: IsUnset,
Required.
The ID of the notification to fetch
Sourcepub fn include_data(
self,
value: bool,
) -> GetNotificationParamsBuilder<SetIncludeData<S>>where
S::IncludeData: IsUnset,
pub fn include_data(
self,
value: bool,
) -> GetNotificationParamsBuilder<SetIncludeData<S>>where
S::IncludeData: IsUnset,
Sourcepub fn maybe_include_data(
self,
value: Option<bool>,
) -> GetNotificationParamsBuilder<SetIncludeData<S>>where
S::IncludeData: IsUnset,
pub fn maybe_include_data(
self,
value: Option<bool>,
) -> GetNotificationParamsBuilder<SetIncludeData<S>>where
S::IncludeData: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for GetNotificationParamsBuilder<S>
impl<S> RefUnwindSafe for GetNotificationParamsBuilder<S>
impl<S> Send for GetNotificationParamsBuilder<S>
impl<S> Sync for GetNotificationParamsBuilder<S>
impl<S> Unpin for GetNotificationParamsBuilder<S>
impl<S> UnwindSafe for GetNotificationParamsBuilder<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