pub struct ReceiptNotFound {
pub error: String,
pub receipt: String,
}Expand description
ReceiptNotFound
JSON schema
{
"type": "object",
"required": [
"error",
"receipt"
],
"properties": {
"error": {
"examples": [
"receipt_not_found"
],
"type": "string"
},
"receipt": {
"description": "The receipt identifier that was not found",
"type": "string"
}
},
"additionalProperties": false
}Fields§
§error: String§receipt: StringThe receipt identifier that was not found
Trait Implementations§
Source§impl Clone for ReceiptNotFound
impl Clone for ReceiptNotFound
Source§fn clone(&self) -> ReceiptNotFound
fn clone(&self) -> ReceiptNotFound
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 ReceiptNotFound
impl Debug for ReceiptNotFound
Source§impl<'de> Deserialize<'de> for ReceiptNotFound
impl<'de> Deserialize<'de> for ReceiptNotFound
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 ReceiptNotFound
impl RefUnwindSafe for ReceiptNotFound
impl Send for ReceiptNotFound
impl Sync for ReceiptNotFound
impl Unpin for ReceiptNotFound
impl UnsafeUnpin for ReceiptNotFound
impl UnwindSafe for ReceiptNotFound
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