pub struct SetWebhookEndpointRequest {
pub endpoint: String,
}
Fields§
§endpoint: String
A valid webhook URL.
Implementations§
Source§impl SetWebhookEndpointRequest
impl SetWebhookEndpointRequest
pub fn new(endpoint: String) -> SetWebhookEndpointRequest
Trait Implementations§
Source§impl Clone for SetWebhookEndpointRequest
impl Clone for SetWebhookEndpointRequest
Source§fn clone(&self) -> SetWebhookEndpointRequest
fn clone(&self) -> SetWebhookEndpointRequest
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 moreSource§impl Debug for SetWebhookEndpointRequest
impl Debug for SetWebhookEndpointRequest
Source§impl Default for SetWebhookEndpointRequest
impl Default for SetWebhookEndpointRequest
Source§fn default() -> SetWebhookEndpointRequest
fn default() -> SetWebhookEndpointRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetWebhookEndpointRequest
impl<'de> Deserialize<'de> for SetWebhookEndpointRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for SetWebhookEndpointRequest
Auto Trait Implementations§
impl Freeze for SetWebhookEndpointRequest
impl RefUnwindSafe for SetWebhookEndpointRequest
impl Send for SetWebhookEndpointRequest
impl Sync for SetWebhookEndpointRequest
impl Unpin for SetWebhookEndpointRequest
impl UnwindSafe for SetWebhookEndpointRequest
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