#[non_exhaustive]pub struct AgentRevocationResponse {
pub agent_id: Uuid,
pub ans_name: String,
pub status: AgentLifecycleStatus,
pub revoked_at: DateTime<Utc>,
pub reason: RevocationReason,
pub links: Vec<Link>,
}Expand description
Revocation response.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.agent_id: UuidAgent ID.
ans_name: StringANS name.
status: AgentLifecycleStatusStatus (will be REVOKED).
revoked_at: DateTime<Utc>When revocation occurred.
reason: RevocationReasonRevocation reason.
links: Vec<Link>HATEOAS links.
Trait Implementations§
Source§impl Clone for AgentRevocationResponse
impl Clone for AgentRevocationResponse
Source§fn clone(&self) -> AgentRevocationResponse
fn clone(&self) -> AgentRevocationResponse
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 AgentRevocationResponse
impl Debug for AgentRevocationResponse
Source§impl<'de> Deserialize<'de> for AgentRevocationResponse
impl<'de> Deserialize<'de> for AgentRevocationResponse
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
Auto Trait Implementations§
impl Freeze for AgentRevocationResponse
impl RefUnwindSafe for AgentRevocationResponse
impl Send for AgentRevocationResponse
impl Sync for AgentRevocationResponse
impl Unpin for AgentRevocationResponse
impl UnsafeUnpin for AgentRevocationResponse
impl UnwindSafe for AgentRevocationResponse
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