#[non_exhaustive]pub struct AgentDetails {
pub agent_id: String,
pub agent_display_name: String,
pub agent_host: String,
pub agent_description: Option<String>,
pub ans_name: String,
pub version: String,
pub agent_status: AgentLifecycleStatus,
pub endpoints: Vec<AgentEndpoint>,
pub registration_timestamp: Option<DateTime<Utc>>,
pub last_renewal_timestamp: Option<DateTime<Utc>>,
pub registration_pending: Option<RegistrationPending>,
pub links: Vec<Link>,
}Expand description
Detailed agent information.
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: StringUnique agent identifier.
agent_display_name: StringDisplay name.
agent_host: StringHosting domain.
agent_description: Option<String>Description.
ans_name: StringFull ANS name.
version: StringVersion.
agent_status: AgentLifecycleStatusLifecycle status.
endpoints: Vec<AgentEndpoint>Endpoints.
registration_timestamp: Option<DateTime<Utc>>Registration timestamp.
last_renewal_timestamp: Option<DateTime<Utc>>Last renewal timestamp.
registration_pending: Option<RegistrationPending>Pending registration details.
links: Vec<Link>HATEOAS links.
Trait Implementations§
Source§impl Clone for AgentDetails
impl Clone for AgentDetails
Source§fn clone(&self) -> AgentDetails
fn clone(&self) -> AgentDetails
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 AgentDetails
impl Debug for AgentDetails
Source§impl<'de> Deserialize<'de> for AgentDetails
impl<'de> Deserialize<'de> for AgentDetails
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 AgentDetails
impl RefUnwindSafe for AgentDetails
impl Send for AgentDetails
impl Sync for AgentDetails
impl Unpin for AgentDetails
impl UnsafeUnpin for AgentDetails
impl UnwindSafe for AgentDetails
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