pub trait SetPassportDataErrorsSetters: HasPayload<Payload = SetPassportDataErrors> + Sized {
    // Provided methods
    fn user_id(self, value: UserId) -> Self { ... }
    fn errors<T>(self, value: T) -> Self
       where T: IntoIterator<Item = PassportElementError> { ... }
}
Expand description

Setters for fields of SetPassportDataErrors

Provided Methods§

source

fn user_id(self, value: UserId) -> Self

Setter for user_id field.

source

fn errors<T>(self, value: T) -> Selfwhere T: IntoIterator<Item = PassportElementError>,

Setter for errors field.

Implementors§