pub struct ValidateOrderInfo {
pub chat_id: i64,
pub message_id: i64,
pub order_info: OrderInfo,
pub allow_save: bool,
}
Expand description
Validates the order information provided by a user and returns the available shipping options for a flexible invoice
Fields§
§chat_id: i64
Chat identifier of the Invoice message
message_id: i64
Message identifier
order_info: OrderInfo
The order information, provided by the user
allow_save: bool
True, if the order information can be saved
Trait Implementations§
Source§impl Clone for ValidateOrderInfo
impl Clone for ValidateOrderInfo
Source§fn clone(&self) -> ValidateOrderInfo
fn clone(&self) -> ValidateOrderInfo
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 ValidateOrderInfo
impl Debug for ValidateOrderInfo
Source§impl<'de> Deserialize<'de> for ValidateOrderInfo
impl<'de> Deserialize<'de> for ValidateOrderInfo
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
Source§impl Method for ValidateOrderInfo
impl Method for ValidateOrderInfo
Auto Trait Implementations§
impl Freeze for ValidateOrderInfo
impl RefUnwindSafe for ValidateOrderInfo
impl Send for ValidateOrderInfo
impl Sync for ValidateOrderInfo
impl Unpin for ValidateOrderInfo
impl UnwindSafe for ValidateOrderInfo
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