Struct nu_protocol::Example
source · [−]pub struct Example {
pub example: &'static str,
pub description: &'static str,
pub result: Option<Value>,
}Fields
example: &'static strdescription: &'static strresult: Option<Value>Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Example
impl Send for Example
impl Sync for Example
impl Unpin for Example
impl !UnwindSafe for Example
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more