Struct ory_client::models::api_token::ApiToken [−][src]
pub struct ApiToken {
pub id: String,
pub name: String,
pub owner_id: String,
pub project_id: Option<String>,
pub value: Option<String>,
}
Fields
id: String
name: String
The Token’s Name Set this to help you remember, for example, where you use the token.
owner_id: String
project_id: Option<String>
value: Option<String>
The token’s value
Implementations
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for ApiToken
impl UnwindSafe for ApiToken
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more