pub struct PickupSchedule {
pub label: String,
pub from_time: String,
pub to_time: String,
}Expand description
Представляет график работы точки самовывоза. https://pay.yandex.ru/docs/ru/custom/backend/yandex-pay-api/order/merchant_v1_order-get#pickupschedule
Fields§
§label: StringДень недели или диапазон дней. Пример: “пн-пт” Максимальная длина: 2048
from_time: StringВремя открытия.
Формат: HH:mm
Пример: “08:00”
to_time: StringВремя закрытия.
Формат: HH:mm
Пример: “20:00”
Trait Implementations§
Source§impl Clone for PickupSchedule
impl Clone for PickupSchedule
Source§fn clone(&self) -> PickupSchedule
fn clone(&self) -> PickupSchedule
Returns a duplicate 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 PickupSchedule
impl Debug for PickupSchedule
Source§impl<'de> Deserialize<'de> for PickupSchedule
impl<'de> Deserialize<'de> for PickupSchedule
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 PickupSchedule
impl RefUnwindSafe for PickupSchedule
impl Send for PickupSchedule
impl Sync for PickupSchedule
impl Unpin for PickupSchedule
impl UnwindSafe for PickupSchedule
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