#[non_exhaustive]pub struct APIKeysResponse {
pub data: Option<Vec<PartialAPIKey>>,
pub included: Option<Vec<APIKeyResponseIncludedItem>>,
pub meta: Option<APIKeysResponseMeta>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Response for a list of API keys.
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.data: Option<Vec<PartialAPIKey>>
Array of API keys.
included: Option<Vec<APIKeyResponseIncludedItem>>
Array of objects related to the API key.
meta: Option<APIKeysResponseMeta>
Additional information related to api keys response.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl APIKeysResponse
impl APIKeysResponse
pub fn new() -> APIKeysResponse
pub fn data(self, value: Vec<PartialAPIKey>) -> Self
pub fn included(self, value: Vec<APIKeyResponseIncludedItem>) -> Self
pub fn meta(self, value: APIKeysResponseMeta) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for APIKeysResponse
impl Clone for APIKeysResponse
Source§fn clone(&self) -> APIKeysResponse
fn clone(&self) -> APIKeysResponse
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 APIKeysResponse
impl Debug for APIKeysResponse
Source§impl Default for APIKeysResponse
impl Default for APIKeysResponse
Source§impl<'de> Deserialize<'de> for APIKeysResponse
impl<'de> Deserialize<'de> for APIKeysResponse
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 APIKeysResponse
impl PartialEq for APIKeysResponse
Source§impl Serialize for APIKeysResponse
impl Serialize for APIKeysResponse
impl StructuralPartialEq for APIKeysResponse
Auto Trait Implementations§
impl Freeze for APIKeysResponse
impl RefUnwindSafe for APIKeysResponse
impl Send for APIKeysResponse
impl Sync for APIKeysResponse
impl Unpin for APIKeysResponse
impl UnwindSafe for APIKeysResponse
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