pub struct SuccessEnvelope<T>where
T: Serialize,{
pub schema_version: u8,
pub ok: bool,
pub command: &'static str,
pub result: T,
}Fields§
§schema_version: u8§ok: bool§command: &'static str§result: TImplementations§
Trait Implementations§
Source§impl<T> Clone for SuccessEnvelope<T>
impl<T> Clone for SuccessEnvelope<T>
Source§fn clone(&self) -> SuccessEnvelope<T>
fn clone(&self) -> SuccessEnvelope<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 moreSource§impl<T> Debug for SuccessEnvelope<T>
impl<T> Debug for SuccessEnvelope<T>
Auto Trait Implementations§
impl<T> Freeze for SuccessEnvelope<T>where
T: Freeze,
impl<T> RefUnwindSafe for SuccessEnvelope<T>where
T: RefUnwindSafe,
impl<T> Send for SuccessEnvelope<T>where
T: Send,
impl<T> Sync for SuccessEnvelope<T>where
T: Sync,
impl<T> Unpin for SuccessEnvelope<T>where
T: Unpin,
impl<T> UnsafeUnpin for SuccessEnvelope<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SuccessEnvelope<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