pub struct GetNotificationParams {
pub webhook_id: String,
pub notification_id: String,
pub include_data: Option<bool>,
}
Expand description
struct for passing parameters to the method [get_notification
]
Fields§
§webhook_id: String
The ID of the webhook to fetch
notification_id: String
The ID of the notification to fetch
include_data: Option<bool>
Include the data of the notification
Implementations§
Source§impl GetNotificationParams
impl GetNotificationParams
Sourcepub fn builder() -> GetNotificationParamsBuilder
pub fn builder() -> GetNotificationParamsBuilder
Create an instance of GetNotificationParams
using the builder syntax
Trait Implementations§
Source§impl Clone for GetNotificationParams
impl Clone for GetNotificationParams
Source§fn clone(&self) -> GetNotificationParams
fn clone(&self) -> GetNotificationParams
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 GetNotificationParams
impl RefUnwindSafe for GetNotificationParams
impl Send for GetNotificationParams
impl Sync for GetNotificationParams
impl Unpin for GetNotificationParams
impl UnwindSafe for GetNotificationParams
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