pub struct ProjectApiKey {
pub created_at: Option<String>,
pub expires_at: Option<Option<String>>,
pub id: String,
pub last_characters: Option<String>,
pub name: String,
pub owner_id: String,
pub project_id: Option<String>,
pub updated_at: Option<String>,
pub value: Option<String>,
}Fields§
§created_at: Option<String>The token’s creation date
expires_at: Option<Option<String>>§id: StringThe token’s ID.
last_characters: Option<String>The last characters of the token’s value. Lets you tell API keys apart in the UI without revealing the full value. Empty for keys created before this was introduced.
name: StringThe Token’s Name Set this to help you remember, for example, where you use the token.
owner_id: StringThe token’s owner
project_id: Option<String>The Token’s Project ID
updated_at: Option<String>The token’s last update date
value: Option<String>The token’s value
Implementations§
Source§impl ProjectApiKey
impl ProjectApiKey
Trait Implementations§
Source§impl Clone for ProjectApiKey
impl Clone for ProjectApiKey
Source§impl Debug for ProjectApiKey
impl Debug for ProjectApiKey
Source§impl Default for ProjectApiKey
impl Default for ProjectApiKey
Source§impl<'de> Deserialize<'de> for ProjectApiKey
impl<'de> Deserialize<'de> for ProjectApiKey
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 ProjectApiKey
impl PartialEq for ProjectApiKey
Source§impl Serialize for ProjectApiKey
impl Serialize for ProjectApiKey
impl StructuralPartialEq for ProjectApiKey
Auto Trait Implementations§
impl Forget for ProjectApiKey
impl Freeze for ProjectApiKey
impl Move for ProjectApiKey
impl RefUnwindSafe for ProjectApiKey
impl Send for ProjectApiKey
impl Sync for ProjectApiKey
impl Unpin for ProjectApiKey
impl UnsafeUnpin for ProjectApiKey
impl UnwindSafe for ProjectApiKey
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