pub struct InspectResult {
pub name: String,
pub version: String,
pub size_wasm_bytes: u64,
pub size_packaged_bytes: Option<u64>,
pub exports: Vec<String>,
pub imports: Vec<String>,
pub capabilities_required: Vec<String>,
pub contract_version: Option<String>,
pub build_info: Option<String>,
}Expand description
Result of torvyn inspect.
Fields§
§name: StringComponent name.
version: StringComponent version.
size_wasm_bytes: u64Wasm binary size.
size_packaged_bytes: Option<u64>Packaged size (if inspecting an artifact).
exports: Vec<String>Exported interfaces.
imports: Vec<String>Imported interfaces.
capabilities_required: Vec<String>Required capabilities.
contract_version: Option<String>Contract version.
build_info: Option<String>Build tool info.
Trait Implementations§
Source§impl Debug for InspectResult
impl Debug for InspectResult
Source§impl HumanRenderable for InspectResult
impl HumanRenderable for InspectResult
Source§fn render_human(&self, ctx: &OutputContext)
fn render_human(&self, ctx: &OutputContext)
Render this value to the terminal.
Auto Trait Implementations§
impl Freeze for InspectResult
impl RefUnwindSafe for InspectResult
impl Send for InspectResult
impl Sync for InspectResult
impl Unpin for InspectResult
impl UnsafeUnpin for InspectResult
impl UnwindSafe for InspectResult
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more