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) -> Self
fn shipping_query_id<T>(self, value: T) -> Self
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) -> Self
fn error_message<T>(self, value: T) -> Self
Setter for error_message
field.
Object Safety§
This trait is not object safe.