pub struct WebhookSubscriptionListResponse {
pub next_page_token: Option<String>,
pub subscriptions: Vec<WebhookSubscriptionResponse>,
}Expand description
WebhookSubscriptionListResponse
JSON schema
{
"allOf": [
{
"description": "Response containing a list of webhook subscriptions.",
"type": "object",
"required": [
"subscriptions"
],
"properties": {
"subscriptions": {
"description": "The list of webhook subscriptions.",
"type": "array",
"items": {
"$ref": "#/components/schemas/WebhookSubscriptionResponse"
}
}
}
},
{
"$ref": "#/components/schemas/ListResponse"
}
]
}Fields§
§next_page_token: Option<String>The token for the next page of items, if any.
subscriptions: Vec<WebhookSubscriptionResponse>The list of webhook subscriptions.
Implementations§
Trait Implementations§
Source§impl Clone for WebhookSubscriptionListResponse
impl Clone for WebhookSubscriptionListResponse
Source§fn clone(&self) -> WebhookSubscriptionListResponse
fn clone(&self) -> WebhookSubscriptionListResponse
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<'de> Deserialize<'de> for WebhookSubscriptionListResponse
impl<'de> Deserialize<'de> for WebhookSubscriptionListResponse
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
Source§impl From<&WebhookSubscriptionListResponse> for WebhookSubscriptionListResponse
impl From<&WebhookSubscriptionListResponse> for WebhookSubscriptionListResponse
Source§fn from(value: &WebhookSubscriptionListResponse) -> Self
fn from(value: &WebhookSubscriptionListResponse) -> Self
Converts to this type from the input type.
Source§impl From<WebhookSubscriptionListResponse> for WebhookSubscriptionListResponse
impl From<WebhookSubscriptionListResponse> for WebhookSubscriptionListResponse
Source§fn from(value: WebhookSubscriptionListResponse) -> Self
fn from(value: WebhookSubscriptionListResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<WebhookSubscriptionListResponse> for WebhookSubscriptionListResponse
impl TryFrom<WebhookSubscriptionListResponse> for WebhookSubscriptionListResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: WebhookSubscriptionListResponse,
) -> Result<Self, ConversionError>
fn try_from( value: WebhookSubscriptionListResponse, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WebhookSubscriptionListResponse
impl RefUnwindSafe for WebhookSubscriptionListResponse
impl Send for WebhookSubscriptionListResponse
impl Sync for WebhookSubscriptionListResponse
impl Unpin for WebhookSubscriptionListResponse
impl UnwindSafe for WebhookSubscriptionListResponse
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