pub struct EngineSpec {
pub id: String,
pub argv: Vec<String>,
pub url: String,
pub priority: i64,
pub weight: f64,
pub required: bool,
}Expand description
How to reach one backend. Inert until selected; exactly one of argv (stdio)
or url (HTTP) is set.
Fields§
§id: String§argv: Vec<String>§url: String§priority: i64§weight: f64§required: boolImplementations§
Source§impl EngineSpec
impl EngineSpec
Trait Implementations§
Source§impl Clone for EngineSpec
impl Clone for EngineSpec
Auto Trait Implementations§
impl Freeze for EngineSpec
impl RefUnwindSafe for EngineSpec
impl Send for EngineSpec
impl Sync for EngineSpec
impl Unpin for EngineSpec
impl UnsafeUnpin for EngineSpec
impl UnwindSafe for EngineSpec
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