pub struct ApiTokenListResponse {
pub api_tokens: Vec<ApiToken>,
}Expand description
Every personal API key belonging to the current user.
JSON schema
{
"title": "ApiTokenListResponse",
"description": "Every personal API key belonging to the current user.",
"type": "object",
"required": [
"api_tokens"
],
"properties": {
"api_tokens": {
"description": "The user's personal API keys.",
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiToken"
}
}
}
}Fields§
§api_tokens: Vec<ApiToken>The user’s personal API keys.
Trait Implementations§
Source§impl Clone for ApiTokenListResponse
impl Clone for ApiTokenListResponse
Source§fn clone(&self) -> ApiTokenListResponse
fn clone(&self) -> ApiTokenListResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ApiTokenListResponse
impl Debug for ApiTokenListResponse
Source§impl<'de> Deserialize<'de> for ApiTokenListResponse
impl<'de> Deserialize<'de> for ApiTokenListResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApiTokenListResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApiTokenListResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ApiTokenListResponse
impl Serialize for ApiTokenListResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ApiTokenListResponse
impl RefUnwindSafe for ApiTokenListResponse
impl Send for ApiTokenListResponse
impl Sync for ApiTokenListResponse
impl Unpin for ApiTokenListResponse
impl UnsafeUnpin for ApiTokenListResponse
impl UnwindSafe for ApiTokenListResponse
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