pub struct JsonResponse {
pub version: String,
pub success: bool,
pub dry_run: bool,
pub summary: Summary,
pub results: Vec<OpResult>,
pub errors: Vec<RipsedError>,
}Expand description
The top-level JSON response.
Fields§
§version: String§success: bool§dry_run: bool§summary: Summary§results: Vec<OpResult>§errors: Vec<RipsedError>Implementations§
Trait Implementations§
Source§impl Clone for JsonResponse
impl Clone for JsonResponse
Source§fn clone(&self) -> JsonResponse
fn clone(&self) -> JsonResponse
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 Debug for JsonResponse
impl Debug for JsonResponse
Source§impl<'de> Deserialize<'de> for JsonResponse
impl<'de> Deserialize<'de> for JsonResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JsonResponse
impl RefUnwindSafe for JsonResponse
impl Send for JsonResponse
impl Sync for JsonResponse
impl Unpin for JsonResponse
impl UnsafeUnpin for JsonResponse
impl UnwindSafe for JsonResponse
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