Struct ory_client::models::project_api_key::ProjectApiKey
source · pub struct ProjectApiKey {
pub id: String,
pub name: String,
pub owner_id: String,
pub project_id: Option<String>,
pub value: Option<String>,
}Fields§
§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
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 copy 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<'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<ProjectApiKey> for ProjectApiKey
impl PartialEq<ProjectApiKey> for ProjectApiKey
source§fn eq(&self, other: &ProjectApiKey) -> bool
fn eq(&self, other: &ProjectApiKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.