pub struct AgentCredentialResponse {
pub agent_credential_id: AgentCredentialId,
pub owner_user_id: UserId,
pub issuer_user_id: UserId,
pub public_key: Box<str>,
pub label: Box<str>,
pub scopes: Vec<AdminScope>,
pub effective_scopes: Vec<AdminScope>,
pub version: u64,
pub created_at: OffsetDateTime,
pub expires_at: Option<OffsetDateTime>,
pub last_used_at: Option<OffsetDateTime>,
pub revoked_at: Option<OffsetDateTime>,
}Fields§
§agent_credential_id: AgentCredentialId§owner_user_id: UserId§issuer_user_id: UserId§public_key: Box<str>§label: Box<str>§scopes: Vec<AdminScope>§effective_scopes: Vec<AdminScope>§version: u64§created_at: OffsetDateTime§expires_at: Option<OffsetDateTime>§last_used_at: Option<OffsetDateTime>§revoked_at: Option<OffsetDateTime>Trait Implementations§
Source§impl Clone for AgentCredentialResponse
impl Clone for AgentCredentialResponse
Source§impl Debug for AgentCredentialResponse
impl Debug for AgentCredentialResponse
Source§impl<'de> Deserialize<'de> for AgentCredentialResponse
impl<'de> Deserialize<'de> for AgentCredentialResponse
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 Eq for AgentCredentialResponse
Source§impl PartialEq for AgentCredentialResponse
impl PartialEq for AgentCredentialResponse
Source§impl Serialize for AgentCredentialResponse
impl Serialize for AgentCredentialResponse
impl StructuralPartialEq for AgentCredentialResponse
Auto Trait Implementations§
impl Freeze for AgentCredentialResponse
impl RefUnwindSafe for AgentCredentialResponse
impl Send for AgentCredentialResponse
impl Sync for AgentCredentialResponse
impl Unpin for AgentCredentialResponse
impl UnsafeUnpin for AgentCredentialResponse
impl UnwindSafe for AgentCredentialResponse
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