pub struct ProjectApiKey {
pub created_at: Option<String>,
pub expires_at: Option<String>,
pub id: 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<String>§id: StringThe token’s ID.
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§fn clone(&self) -> ProjectApiKey
fn clone(&self) -> ProjectApiKey
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 ProjectApiKey
impl Debug for ProjectApiKey
Source§impl Default for ProjectApiKey
impl Default for ProjectApiKey
Source§fn default() -> ProjectApiKey
fn default() -> ProjectApiKey
Returns the “default value” for a type. Read more
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 Freeze for ProjectApiKey
impl RefUnwindSafe for ProjectApiKey
impl Send for ProjectApiKey
impl Sync for ProjectApiKey
impl Unpin 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