pub struct WorkspaceApiKey {
pub created_at: Option<String>,
pub expires_at: Option<String>,
pub id: String,
pub name: String,
pub owner_id: String,
pub updated_at: Option<String>,
pub value: Option<String>,
pub workspace_id: Option<String>,
}Fields§
§created_at: Option<String>The API key’s creation date
expires_at: Option<String>§id: StringThe key’s ID.
name: StringThe API key’s Name Set this to help you remember, for example, where you use the API key.
owner_id: StringThe key’s owner
updated_at: Option<String>The API key’s last update date
value: Option<String>The key’s value
workspace_id: Option<String>The API key’s workspace ID
Implementations§
Trait Implementations§
Source§impl Clone for WorkspaceApiKey
impl Clone for WorkspaceApiKey
Source§fn clone(&self) -> WorkspaceApiKey
fn clone(&self) -> WorkspaceApiKey
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 WorkspaceApiKey
impl Debug for WorkspaceApiKey
Source§impl Default for WorkspaceApiKey
impl Default for WorkspaceApiKey
Source§fn default() -> WorkspaceApiKey
fn default() -> WorkspaceApiKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkspaceApiKey
impl<'de> Deserialize<'de> for WorkspaceApiKey
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 WorkspaceApiKey
impl PartialEq for WorkspaceApiKey
Source§impl Serialize for WorkspaceApiKey
impl Serialize for WorkspaceApiKey
impl StructuralPartialEq for WorkspaceApiKey
Auto Trait Implementations§
impl Freeze for WorkspaceApiKey
impl RefUnwindSafe for WorkspaceApiKey
impl Send for WorkspaceApiKey
impl Sync for WorkspaceApiKey
impl Unpin for WorkspaceApiKey
impl UnwindSafe for WorkspaceApiKey
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