pub trait AnswerShippingQuerySetters: HasPayload<Payload = AnswerShippingQuery> + Sized {
// Provided methods
fn shipping_query_id<T>(self, value: T) -> Self
where T: Into<String> { ... }
fn ok(self, value: bool) -> Self { ... }
fn shipping_options<T>(self, value: T) -> Self
where T: IntoIterator<Item = ShippingOption> { ... }
fn error_message<T>(self, value: T) -> Self
where T: Into<String> { ... }
}
Expand description
Setters for fields of AnswerShippingQuery
Provided Methods§
sourcefn shipping_query_id<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn shipping_query_id<T>(self, value: T) -> Selfwhere T: Into<String>,
Setter for shipping_query_id
field.
sourcefn shipping_options<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = ShippingOption>,
fn shipping_options<T>(self, value: T) -> Selfwhere T: IntoIterator<Item = ShippingOption>,
Setter for shipping_options
field.
sourcefn error_message<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn error_message<T>(self, value: T) -> Selfwhere T: Into<String>,
Setter for error_message
field.