pub struct WebhookEndpoint { /* private fields */ }Implementations§
Source§impl WebhookEndpoint
impl WebhookEndpoint
pub fn channels<T>(self, value: T) -> Self
pub fn created_at<T>(self, value: T) -> Self
pub fn description<T>(self, value: T) -> Self
pub fn disabled<T>(self, value: T) -> Self
pub fn filter<T>(self, value: T) -> Self
pub fn filter_types<T>(self, value: T) -> Self
pub fn id<T>(self, value: T) -> Self
pub fn metadata<T>(self, value: T) -> Self
pub fn rate_limit<T>(self, value: T) -> Self
pub fn updated_at<T>(self, value: T) -> Self
pub fn url<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for WebhookEndpoint
impl Clone for WebhookEndpoint
Source§fn clone(&self) -> WebhookEndpoint
fn clone(&self) -> WebhookEndpoint
Returns a duplicate 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 moreSource§impl Debug for WebhookEndpoint
impl Debug for WebhookEndpoint
Source§impl Default for WebhookEndpoint
impl Default for WebhookEndpoint
Source§impl From<WebhookEndpoint> for WebhookEndpoint
impl From<WebhookEndpoint> for WebhookEndpoint
Source§fn from(value: WebhookEndpoint) -> Self
fn from(value: WebhookEndpoint) -> Self
Converts to this type from the input type.
Source§impl TryFrom<WebhookEndpoint> for WebhookEndpoint
impl TryFrom<WebhookEndpoint> for WebhookEndpoint
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WebhookEndpoint) -> Result<Self, ConversionError>
fn try_from(value: WebhookEndpoint) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WebhookEndpoint
impl RefUnwindSafe for WebhookEndpoint
impl Send for WebhookEndpoint
impl Sync for WebhookEndpoint
impl Unpin for WebhookEndpoint
impl UnsafeUnpin for WebhookEndpoint
impl UnwindSafe for WebhookEndpoint
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