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