pub struct AnswerShippingQueryBuilder { /* private fields */ }Expand description
Builder for the AnswerShippingQuery structure
Implementations§
Source§impl AnswerShippingQueryBuilder
impl AnswerShippingQueryBuilder
Sourcepub fn new(shipping_query_id: String, ok: bool) -> Self
pub fn new(shipping_query_id: String, ok: bool) -> Self
Instantiate the builder with the fields shipping_query_id, ok, shipping_options, error_message
Sourcepub fn shipping_options(self, val: Vec<ShippingOption>) -> Self
pub fn shipping_options(self, val: Vec<ShippingOption>) -> Self
Set the field shipping_options to the given value
Sourcepub fn error_message(self, val: String) -> Self
pub fn error_message(self, val: String) -> Self
Set the field error_message to the given value
Trait Implementations§
Source§impl Builder for AnswerShippingQueryBuilder
impl Builder for AnswerShippingQueryBuilder
Source§type Value = AnswerShippingQuery
type Value = AnswerShippingQuery
Type to be built
Auto Trait Implementations§
impl Freeze for AnswerShippingQueryBuilder
impl RefUnwindSafe for AnswerShippingQueryBuilder
impl Send for AnswerShippingQueryBuilder
impl Sync for AnswerShippingQueryBuilder
impl Unpin for AnswerShippingQueryBuilder
impl UnwindSafe for AnswerShippingQueryBuilder
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