#[non_exhaustive]pub struct AgentSearchResult {
pub ans_name: String,
pub agent_id: String,
pub agent_display_name: String,
pub agent_description: Option<String>,
pub version: String,
pub agent_host: String,
pub ttl: Option<i32>,
pub registration_timestamp: Option<DateTime<Utc>>,
pub endpoints: Vec<AgentEndpoint>,
pub links: Vec<Link>,
}Expand description
Agent search result.
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.ans_name: StringANS name.
agent_id: StringAgent ID.
agent_display_name: StringDisplay name.
agent_description: Option<String>Description.
version: StringVersion.
agent_host: StringHosting domain.
ttl: Option<i32>TTL in seconds.
registration_timestamp: Option<DateTime<Utc>>Registration timestamp.
endpoints: Vec<AgentEndpoint>Endpoints.
links: Vec<Link>HATEOAS links.
Trait Implementations§
Source§impl Clone for AgentSearchResult
impl Clone for AgentSearchResult
Source§fn clone(&self) -> AgentSearchResult
fn clone(&self) -> AgentSearchResult
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 AgentSearchResult
impl Debug for AgentSearchResult
Source§impl<'de> Deserialize<'de> for AgentSearchResult
impl<'de> Deserialize<'de> for AgentSearchResult
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 AgentSearchResult
impl RefUnwindSafe for AgentSearchResult
impl Send for AgentSearchResult
impl Sync for AgentSearchResult
impl Unpin for AgentSearchResult
impl UnsafeUnpin for AgentSearchResult
impl UnwindSafe for AgentSearchResult
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