pub struct TopReturnedProduct {
pub sku: String,
pub name: String,
pub units_returned: u64,
pub units_sold: u64,
pub return_rate_percent: Decimal,
}Expand description
Product with high return rate
Fields§
§sku: String§name: String§units_returned: u64§units_sold: u64§return_rate_percent: DecimalTrait Implementations§
Source§impl Clone for TopReturnedProduct
impl Clone for TopReturnedProduct
Source§fn clone(&self) -> TopReturnedProduct
fn clone(&self) -> TopReturnedProduct
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 TopReturnedProduct
impl Debug for TopReturnedProduct
Source§impl<'de> Deserialize<'de> for TopReturnedProduct
impl<'de> Deserialize<'de> for TopReturnedProduct
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TopReturnedProduct, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TopReturnedProduct, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TopReturnedProduct
impl Serialize for TopReturnedProduct
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 TopReturnedProduct
impl RefUnwindSafe for TopReturnedProduct
impl Send for TopReturnedProduct
impl Sync for TopReturnedProduct
impl Unpin for TopReturnedProduct
impl UnsafeUnpin for TopReturnedProduct
impl UnwindSafe for TopReturnedProduct
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