pub struct AnswerPreCheckoutQueryParams {
pub pre_checkout_query_id: String,
pub ok: bool,
pub error_message: Option<String>,
}
Fields§
§pre_checkout_query_id: String
§ok: bool
§error_message: Option<String>
Implementations§
source§impl AnswerPreCheckoutQueryParams
impl AnswerPreCheckoutQueryParams
sourcepub fn builder() -> AnswerPreCheckoutQueryParamsBuilder<((), (), ())>
pub fn builder() -> AnswerPreCheckoutQueryParamsBuilder<((), (), ())>
Create a builder for building AnswerPreCheckoutQueryParams
.
On the builder, call .pre_checkout_query_id(...)
, .ok(...)
, .error_message(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of AnswerPreCheckoutQueryParams
.
Trait Implementations§
source§impl Clone for AnswerPreCheckoutQueryParams
impl Clone for AnswerPreCheckoutQueryParams
source§fn clone(&self) -> AnswerPreCheckoutQueryParams
fn clone(&self) -> AnswerPreCheckoutQueryParams
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 AnswerPreCheckoutQueryParams
impl Debug for AnswerPreCheckoutQueryParams
source§impl<'de> Deserialize<'de> for AnswerPreCheckoutQueryParams
impl<'de> Deserialize<'de> for AnswerPreCheckoutQueryParams
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 PartialEq for AnswerPreCheckoutQueryParams
impl PartialEq for AnswerPreCheckoutQueryParams
source§fn eq(&self, other: &AnswerPreCheckoutQueryParams) -> bool
fn eq(&self, other: &AnswerPreCheckoutQueryParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AnswerPreCheckoutQueryParams
impl StructuralPartialEq for AnswerPreCheckoutQueryParams
Auto Trait Implementations§
impl Freeze for AnswerPreCheckoutQueryParams
impl RefUnwindSafe for AnswerPreCheckoutQueryParams
impl Send for AnswerPreCheckoutQueryParams
impl Sync for AnswerPreCheckoutQueryParams
impl Unpin for AnswerPreCheckoutQueryParams
impl UnwindSafe for AnswerPreCheckoutQueryParams
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