pub struct JsonEnvelopeResults<T>where
T: Serialize,{
pub schema_version: String,
pub command: String,
pub ok: bool,
pub results: Vec<T>,
}Fields§
§schema_version: String§command: String§ok: bool§results: Vec<T>Trait Implementations§
Source§impl<T> Clone for JsonEnvelopeResults<T>
impl<T> Clone for JsonEnvelopeResults<T>
Source§fn clone(&self) -> JsonEnvelopeResults<T>
fn clone(&self) -> JsonEnvelopeResults<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JsonEnvelopeResults<T>
impl<T> Debug for JsonEnvelopeResults<T>
Source§impl<T> Serialize for JsonEnvelopeResults<T>where
T: Serialize,
impl<T> Serialize for JsonEnvelopeResults<T>where
T: Serialize,
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl<T> Freeze for JsonEnvelopeResults<T>
impl<T> RefUnwindSafe for JsonEnvelopeResults<T>where
Vec<T>: RefUnwindSafe,
impl<T> Send for JsonEnvelopeResults<T>
impl<T> Sync for JsonEnvelopeResults<T>
impl<T> Unpin for JsonEnvelopeResults<T>
impl<T> UnsafeUnpin for JsonEnvelopeResults<T>where
Vec<T>: UnsafeUnpin,
impl<T> UnwindSafe for JsonEnvelopeResults<T>where
Vec<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