pub struct JsonEnvelopeResult<T: Serialize> {
pub schema_version: String,
pub command: String,
pub ok: bool,
pub result: T,
}Fields§
§schema_version: String§command: String§ok: bool§result: TTrait Implementations§
Source§impl<T: Clone + Serialize> Clone for JsonEnvelopeResult<T>
impl<T: Clone + Serialize> Clone for JsonEnvelopeResult<T>
Source§fn clone(&self) -> JsonEnvelopeResult<T>
fn clone(&self) -> JsonEnvelopeResult<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for JsonEnvelopeResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for JsonEnvelopeResult<T>where
T: RefUnwindSafe,
impl<T> Send for JsonEnvelopeResult<T>where
T: Send,
impl<T> Sync for JsonEnvelopeResult<T>where
T: Sync,
impl<T> Unpin for JsonEnvelopeResult<T>where
T: Unpin,
impl<T> UnsafeUnpin for JsonEnvelopeResult<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for JsonEnvelopeResult<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