pub struct TargetCart {
pub items: Vec<TargetCartItem>,
}Expand description
Описывает итоговое состояние корзины https://pay.yandex.ru/docs/ru/custom/backend/yandex-pay-api/order/merchant_v2_refund-post#targetcart
Fields§
§items: Vec<TargetCartItem>Позиции корзины
Implementations§
Trait Implementations§
Source§impl Clone for TargetCart
impl Clone for TargetCart
Source§fn clone(&self) -> TargetCart
fn clone(&self) -> TargetCart
Returns a copy 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 TargetCart
impl Debug for TargetCart
Source§impl<'de> Deserialize<'de> for TargetCart
impl<'de> Deserialize<'de> for TargetCart
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 TargetCart
impl RefUnwindSafe for TargetCart
impl Send for TargetCart
impl Sync for TargetCart
impl Unpin for TargetCart
impl UnwindSafe for TargetCart
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