#[non_exhaustive]pub struct ListWebhooksResponse {
pub object: String,
pub data: Vec<WebhookEndpoint>,
pub has_more: bool,
pub next_cursor: Option<String>,
pub total: Option<i64>,
pub meta: ResponseMeta,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.object: String§data: Vec<WebhookEndpoint>§has_more: bool§next_cursor: Option<String>§total: Option<i64>§meta: ResponseMetaTrait Implementations§
Source§impl Clone for ListWebhooksResponse
impl Clone for ListWebhooksResponse
Source§impl Debug for ListWebhooksResponse
impl Debug for ListWebhooksResponse
Source§impl<'de> Deserialize<'de> for ListWebhooksResponse
impl<'de> Deserialize<'de> for ListWebhooksResponse
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 ListPage for ListWebhooksResponse
impl ListPage for ListWebhooksResponse
Source§type Item = WebhookEndpoint
type Item = WebhookEndpoint
The row type.
Source§fn items(&self) -> &[WebhookEndpoint]
fn items(&self) -> &[WebhookEndpoint]
The rows on this page.
Source§fn into_items(self) -> Vec<WebhookEndpoint>
fn into_items(self) -> Vec<WebhookEndpoint>
The rows on this page, owned.
Source§fn next_cursor(&self) -> Option<&str>
fn next_cursor(&self) -> Option<&str>
The cursor for the next page.
Source§impl PartialEq for ListWebhooksResponse
impl PartialEq for ListWebhooksResponse
Source§impl Serialize for ListWebhooksResponse
impl Serialize for ListWebhooksResponse
impl StructuralPartialEq for ListWebhooksResponse
Auto Trait Implementations§
impl Freeze for ListWebhooksResponse
impl RefUnwindSafe for ListWebhooksResponse
impl Send for ListWebhooksResponse
impl Sync for ListWebhooksResponse
impl Unpin for ListWebhooksResponse
impl UnsafeUnpin for ListWebhooksResponse
impl UnwindSafe for ListWebhooksResponse
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