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§
sourcefn errors<T>(self, value: T) -> Selfwhere
T: IntoIterator<Item = PassportElementError>,
fn errors<T>(self, value: T) -> Selfwhere T: IntoIterator<Item = PassportElementError>,
Setter for errors
field.