pub struct WebhookRegistrationDetails {
pub webhooks: Vec<WebhookDetails>,
pub url: String,
}
Expand description
WebhookRegistrationDetails : Details of webhooks to register.
Fields§
§webhooks: Vec<WebhookDetails>
A list of webhooks.
url: String
The URL that specifies where to send the webhooks. This URL must use the same base URL as the Connect app.
Implementations§
Source§impl WebhookRegistrationDetails
impl WebhookRegistrationDetails
Sourcepub fn new(
webhooks: Vec<WebhookDetails>,
url: String,
) -> WebhookRegistrationDetails
pub fn new( webhooks: Vec<WebhookDetails>, url: String, ) -> WebhookRegistrationDetails
Details of webhooks to register.
Trait Implementations§
Source§impl Clone for WebhookRegistrationDetails
impl Clone for WebhookRegistrationDetails
Source§fn clone(&self) -> WebhookRegistrationDetails
fn clone(&self) -> WebhookRegistrationDetails
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 WebhookRegistrationDetails
impl Debug for WebhookRegistrationDetails
Source§impl Default for WebhookRegistrationDetails
impl Default for WebhookRegistrationDetails
Source§fn default() -> WebhookRegistrationDetails
fn default() -> WebhookRegistrationDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookRegistrationDetails
impl<'de> Deserialize<'de> for WebhookRegistrationDetails
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 WebhookRegistrationDetails
Auto Trait Implementations§
impl Freeze for WebhookRegistrationDetails
impl RefUnwindSafe for WebhookRegistrationDetails
impl Send for WebhookRegistrationDetails
impl Sync for WebhookRegistrationDetails
impl Unpin for WebhookRegistrationDetails
impl UnwindSafe for WebhookRegistrationDetails
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