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