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