pub struct Agent {
pub service: String,
pub url: String,
pub command: CommandName,
pub capabilities_fetcher: fn() -> Result<Capabilities>,
}Fields§
§service: String§url: String§command: CommandName§capabilities_fetcher: fn() -> Result<Capabilities>Implementations§
Auto Trait Implementations§
impl Freeze for Agent
impl RefUnwindSafe for Agent
impl Send for Agent
impl Sync for Agent
impl Unpin for Agent
impl UnwindSafe for Agent
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