pub struct ApiKey {
pub redacted_api_key: String,
pub user_id: String,
pub name: String,
pub create_time: String,
pub modify_time: String,
pub modified_by: String,
pub team_id: String,
pub acls: Vec<String>,
pub api_key_id: String,
pub team_blocked: bool,
pub api_key_blocked: bool,
pub api_key_disabled: bool,
}Expand description
API key information.
Fields§
§redacted_api_key: StringThe redacted API key.
user_id: StringUser ID the API key belongs to.
name: StringThe name of the API key specified by user.
create_time: StringCreation time of the API key in Unix timestamp.
modify_time: StringLast modification time of the API key in Unix timestamp.
modified_by: StringUser ID of the user who last modified the API key.
team_id: StringThe team ID of the team that owns the API key.
acls: Vec<String>A list of ACLs authorized with the API key.
api_key_id: StringID of the API key.
team_blocked: boolIndicates whether the team that owns the API key is blocked.
api_key_blocked: boolIndicates whether the API key is blocked.
api_key_disabled: boolIndicates whether the API key is disabled.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ApiKey
impl<'de> Deserialize<'de> for ApiKey
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
impl StructuralPartialEq for ApiKey
Auto Trait Implementations§
impl Freeze for ApiKey
impl RefUnwindSafe for ApiKey
impl Send for ApiKey
impl Sync for ApiKey
impl Unpin for ApiKey
impl UnwindSafe for ApiKey
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