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