pub struct Runner {
pub name: Option<String>,
pub source_path: Option<String>,
}
Expand description
Declares a runner capability backed by a service.
Fields§
§name: Option<String>
§source_path: Option<String>
Trait Implementations§
Source§impl Encodable for Runner
impl Encodable for Runner
Source§type Encoded = WireRunner
type Encoded = WireRunner
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl TakeFrom<WireRunner> for Runner
impl TakeFrom<WireRunner> for Runner
Source§fn take_from(from: &WireRunner) -> Self
fn take_from(from: &WireRunner) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for Runner
impl RefUnwindSafe for Runner
impl Send for Runner
impl Sync for Runner
impl Unpin for Runner
impl UnwindSafe for Runner
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