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§

source

fn shipping_query_id<T>(self, value: T) -> Self
where T: Into<String>,

Setter for shipping_query_id field.

source

fn ok(self, value: bool) -> Self

Setter for ok field.

source

fn shipping_options<T>(self, value: T) -> Self
where T: IntoIterator<Item = ShippingOption>,

Setter for shipping_options field.

source

fn error_message<T>(self, value: T) -> Self
where T: Into<String>,

Setter for error_message field.

Object Safety§

This trait is not object safe.

Implementors§