Struct cf_core_alpha::Agent
source · pub struct Agent {
pub service: String,
pub url: String,
pub command: CommandName,
pub capabilities_fetcher: fn() -> Result<Capabilities>,
}Fields
service: Stringurl: Stringcommand: CommandNamecapabilities_fetcher: fn() -> Result<Capabilities>Implementations
Auto Trait Implementations
impl RefUnwindSafe for Agent
impl Send for Agent
impl Sync for Agent
impl Unpin for Agent
impl UnwindSafe for Agent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more