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) -> Self

Setter for errors field.

Object Safety§

This trait is not object safe.

Implementors§