pub struct ConfirmDeliveryInput {
pub purchase_id: Uuid,
pub confirmation_signature: String,
pub rating: Option<u8>,
pub feedback: Option<String>,
}Expand description
Input for confirming delivery of a purchase
Fields§
§purchase_id: UuidPurchase ID to confirm
confirmation_signature: StringConfirmation signature from buyer
rating: Option<u8>Rating for the seller (1-5)
feedback: Option<String>Feedback comments
Trait Implementations§
Source§impl Clone for ConfirmDeliveryInput
impl Clone for ConfirmDeliveryInput
Source§fn clone(&self) -> ConfirmDeliveryInput
fn clone(&self) -> ConfirmDeliveryInput
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 ConfirmDeliveryInput
impl Debug for ConfirmDeliveryInput
Source§impl<'de> Deserialize<'de> for ConfirmDeliveryInput
impl<'de> Deserialize<'de> for ConfirmDeliveryInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConfirmDeliveryInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConfirmDeliveryInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ConfirmDeliveryInput
impl Serialize for ConfirmDeliveryInput
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 Freeze for ConfirmDeliveryInput
impl RefUnwindSafe for ConfirmDeliveryInput
impl Send for ConfirmDeliveryInput
impl Sync for ConfirmDeliveryInput
impl Unpin for ConfirmDeliveryInput
impl UnsafeUnpin for ConfirmDeliveryInput
impl UnwindSafe for ConfirmDeliveryInput
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