pub struct Envelope<T: Serialize> {
pub tool: &'static str,
pub schema_version: u32,
pub command: &'static str,
pub capture: CaptureMeta,
pub result: T,
pub warnings: Vec<String>,
pub next_commands: Vec<String>,
}Fields§
§tool: &'static str§schema_version: u32§command: &'static str§capture: CaptureMeta§result: T§warnings: Vec<String>§next_commands: Vec<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Envelope<T>where
T: Freeze,
impl<T> RefUnwindSafe for Envelope<T>where
T: RefUnwindSafe,
impl<T> Send for Envelope<T>where
T: Send,
impl<T> Sync for Envelope<T>where
T: Sync,
impl<T> Unpin for Envelope<T>where
T: Unpin,
impl<T> UnsafeUnpin for Envelope<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Envelope<T>where
T: UnwindSafe,
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