pub struct RetrieveWebhookSubscriptionResponse {
pub errors: Option<Vec<Error>>,
pub subscription: Option<Box<WebhookSubscription>>,
}Expand description
RetrieveWebhookSubscriptionResponse : Defines the fields that are included in the response body of a request to the RetrieveWebhookSubscription endpoint. Note: if there are errors processing the request, the Subscription will not be present.
Fields§
§errors: Option<Vec<Error>>Information on errors encountered during the request.
subscription: Option<Box<WebhookSubscription>>Implementations§
Source§impl RetrieveWebhookSubscriptionResponse
impl RetrieveWebhookSubscriptionResponse
Sourcepub fn new() -> RetrieveWebhookSubscriptionResponse
pub fn new() -> RetrieveWebhookSubscriptionResponse
Defines the fields that are included in the response body of a request to the RetrieveWebhookSubscription endpoint. Note: if there are errors processing the request, the Subscription will not be present.
Trait Implementations§
Source§impl Clone for RetrieveWebhookSubscriptionResponse
impl Clone for RetrieveWebhookSubscriptionResponse
Source§fn clone(&self) -> RetrieveWebhookSubscriptionResponse
fn clone(&self) -> RetrieveWebhookSubscriptionResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for RetrieveWebhookSubscriptionResponse
impl Default for RetrieveWebhookSubscriptionResponse
Source§fn default() -> RetrieveWebhookSubscriptionResponse
fn default() -> RetrieveWebhookSubscriptionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RetrieveWebhookSubscriptionResponse
impl<'de> Deserialize<'de> for RetrieveWebhookSubscriptionResponse
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 RetrieveWebhookSubscriptionResponse
Auto Trait Implementations§
impl Freeze for RetrieveWebhookSubscriptionResponse
impl RefUnwindSafe for RetrieveWebhookSubscriptionResponse
impl Send for RetrieveWebhookSubscriptionResponse
impl Sync for RetrieveWebhookSubscriptionResponse
impl Unpin for RetrieveWebhookSubscriptionResponse
impl UnsafeUnpin for RetrieveWebhookSubscriptionResponse
impl UnwindSafe for RetrieveWebhookSubscriptionResponse
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