pub struct DiscoveredAgent {
pub agent_id: String,
pub name: String,
pub provider: String,
pub status: String,
pub beat_count: u64,
pub capabilities: Vec<String>,
pub profile_url: String,
pub seo_url: String,
}Expand description
Discovered agent from /relay/discover.
Fields§
§agent_id: String§name: String§provider: String§status: String§beat_count: u64§capabilities: Vec<String>§profile_url: String§seo_url: StringTrait Implementations§
Source§impl Clone for DiscoveredAgent
impl Clone for DiscoveredAgent
Source§fn clone(&self) -> DiscoveredAgent
fn clone(&self) -> DiscoveredAgent
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 DiscoveredAgent
impl Debug for DiscoveredAgent
Source§impl<'de> Deserialize<'de> for DiscoveredAgent
impl<'de> Deserialize<'de> for DiscoveredAgent
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 DiscoveredAgent
impl RefUnwindSafe for DiscoveredAgent
impl Send for DiscoveredAgent
impl Sync for DiscoveredAgent
impl Unpin for DiscoveredAgent
impl UnsafeUnpin for DiscoveredAgent
impl UnwindSafe for DiscoveredAgent
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