UserEnrollmentSummary
Rust struct goodmem::models::UserEnrollmentSummary: declaration, fields or variants, and implementations.
Struct UserEnrollmentSummary
goodmem::models::UserEnrollmentSummary
Non-secret enrollment posture for one active human user.
pub struct UserEnrollmentSummary {
pub bootstrap_eligible: bool,
pub open_enrollment_status: Option<UserEnrollmentSummaryOpenEnrollmentStatus>,
pub open_enrollment_expires_at: Option<i64>,
}Referenced types: UserEnrollmentSummaryOpenEnrollmentStatus.
Fields
bootstrap_eligible
pub bootstrap_eligible: bool
Whether no enrollment has been consumed and the user has no subject API key.
Wire name: bootstrapEligible.
open_enrollment_status
pub open_enrollment_status: Option<UserEnrollmentSummaryOpenEnrollmentStatus>
State of the open enrollment, when one exists; present exactly with openEnrollmentExpiresAt.
Wire name: openEnrollmentStatus.
open_enrollment_expires_at
pub open_enrollment_expires_at: Option<i64>
Exclusive open-enrollment completion deadline in epoch milliseconds; present exactly with openEnrollmentStatus.
Wire name: openEnrollmentExpiresAt.
Implementations
validate
pub fn validate(&self) -> crate::Result<()>
Validate the request before sending, without making an HTTP call.
Trait implementations
Clone(derived)Default(derived)PartialEq(derived)Serialize(derived)impl<'de> Deserialize<'de> for UserEnrollmentSummaryimpl std::fmt::Debug for UserEnrollmentSummary