pub struct ValidationReport {
pub mail: ServiceCheck,
pub calendar: ServiceCheck,
pub contacts: ServiceCheck,
}Expand description
Per-service results for one sign-in attempt.
Sign-in succeeds when ValidationReport::any_service_ok is true, so an
account with only calendars can sign in.
Fields§
§mail: ServiceCheckIMAP login.
calendar: ServiceCheckCalDAV principal lookup.
contacts: ServiceCheckCardDAV principal lookup.
Implementations§
Source§impl ValidationReport
impl ValidationReport
Sourcepub fn any_service_ok(&self) -> bool
pub fn any_service_ok(&self) -> bool
Returns true when mail, calendar or contacts accepted the credentials.
Trait Implementations§
Source§impl Clone for ValidationReport
impl Clone for ValidationReport
Source§impl Debug for ValidationReport
impl Debug for ValidationReport
impl Eq for ValidationReport
Source§impl PartialEq for ValidationReport
impl PartialEq for ValidationReport
impl StructuralPartialEq for ValidationReport
Auto Trait Implementations§
impl Forget for ValidationReport
impl Freeze for ValidationReport
impl Move for ValidationReport
impl RefUnwindSafe for ValidationReport
impl Send for ValidationReportwhere
RawVecInner: Send,
impl Sync for ValidationReportwhere
RawVecInner: Sync,
impl Unpin for ValidationReport
impl UnsafeUnpin for ValidationReport
impl UnwindSafe for ValidationReportwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more