pub struct Listing {
pub manifest: Info,
pub capabilities: Features,
}Expand description
One row of a picker: who a harness is, and what it can do.
These are separate questions to the Harness trait — identity is asked
once, capability constantly — but a UI needs both at the same moment, and
this is the shape that crosses to it. Serializable and camelCase, so a
host hands it to a frontend unchanged.
Fields§
§manifest: Info§capabilities: FeaturesTrait Implementations§
Auto Trait Implementations§
impl Freeze for Listing
impl RefUnwindSafe for Listing
impl Send for Listing
impl Sync for Listing
impl Unpin for Listing
impl UnsafeUnpin for Listing
impl UnwindSafe for Listing
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