pub struct PackageResult {
pub status: String,
pub data: Option<Value>,
pub error: Option<String>,
}Expand description
Standard package response.
Fields§
§status: String§data: Option<Value>§error: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for PackageResult
impl Clone for PackageResult
Source§fn clone(&self) -> PackageResult
fn clone(&self) -> PackageResult
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 Debug for PackageResult
impl Debug for PackageResult
Source§impl<'de> Deserialize<'de> for PackageResult
impl<'de> Deserialize<'de> for PackageResult
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 PackageResult
impl RefUnwindSafe for PackageResult
impl Send for PackageResult
impl Sync for PackageResult
impl Unpin for PackageResult
impl UnsafeUnpin for PackageResult
impl UnwindSafe for PackageResult
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