pub struct WebhookPaginatedResponse {
pub data: Vec<Webhook>,
pub next: Option<Option<String>>,
}
Fields§
§data: Vec<Webhook>
The data of the current page
next: Option<Option<String>>
The ID of the next page
Implementations§
Source§impl WebhookPaginatedResponse
impl WebhookPaginatedResponse
pub fn new(data: Vec<Webhook>) -> WebhookPaginatedResponse
Trait Implementations§
Source§impl Clone for WebhookPaginatedResponse
impl Clone for WebhookPaginatedResponse
Source§fn clone(&self) -> WebhookPaginatedResponse
fn clone(&self) -> WebhookPaginatedResponse
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 WebhookPaginatedResponse
impl Debug for WebhookPaginatedResponse
Source§impl Default for WebhookPaginatedResponse
impl Default for WebhookPaginatedResponse
Source§fn default() -> WebhookPaginatedResponse
fn default() -> WebhookPaginatedResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookPaginatedResponse
impl<'de> Deserialize<'de> for WebhookPaginatedResponse
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 PartialEq for WebhookPaginatedResponse
impl PartialEq for WebhookPaginatedResponse
Source§impl Serialize for WebhookPaginatedResponse
impl Serialize for WebhookPaginatedResponse
impl StructuralPartialEq for WebhookPaginatedResponse
Auto Trait Implementations§
impl Freeze for WebhookPaginatedResponse
impl RefUnwindSafe for WebhookPaginatedResponse
impl Send for WebhookPaginatedResponse
impl Sync for WebhookPaginatedResponse
impl Unpin for WebhookPaginatedResponse
impl UnwindSafe for WebhookPaginatedResponse
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