pub struct CliResult {
pub success: bool,
pub data: Option<Value>,
pub error: Option<String>,
}Expand description
Uniform result envelope returned by picoframe plugin commands.
Fields§
§success: bool§data: Option<Value>§error: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CliResult
impl RefUnwindSafe for CliResult
impl Send for CliResult
impl Sync for CliResult
impl Unpin for CliResult
impl UnsafeUnpin for CliResult
impl UnwindSafe for CliResult
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