pub struct HlExtraAgent {
pub address: String,
pub name: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
An extra (sub-)agent approval entry.
Returned by the extraAgents info endpoint.
Fields§
§address: StringAddress of the approved agent.
name: Option<String>Human-readable agent name, if set.
extra: HashMap<String, Value>Any additional fields returned by the API.
Trait Implementations§
Source§impl Clone for HlExtraAgent
impl Clone for HlExtraAgent
Source§fn clone(&self) -> HlExtraAgent
fn clone(&self) -> HlExtraAgent
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 HlExtraAgent
impl Debug for HlExtraAgent
Source§impl<'de> Deserialize<'de> for HlExtraAgent
impl<'de> Deserialize<'de> for HlExtraAgent
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
Source§impl PartialEq for HlExtraAgent
impl PartialEq for HlExtraAgent
Source§impl Serialize for HlExtraAgent
impl Serialize for HlExtraAgent
impl StructuralPartialEq for HlExtraAgent
Auto Trait Implementations§
impl Freeze for HlExtraAgent
impl RefUnwindSafe for HlExtraAgent
impl Send for HlExtraAgent
impl Sync for HlExtraAgent
impl Unpin for HlExtraAgent
impl UnsafeUnpin for HlExtraAgent
impl UnwindSafe for HlExtraAgent
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