pub struct TenantCertRenewalRow {
pub tn_id: TnId,
pub id_tag: Box<str>,
pub expires_at: Option<Timestamp>,
pub failure_count: u32,
pub last_renewal_error: Option<Box<str>>,
pub notified_at: Option<Timestamp>,
}Expand description
Row returned by list_tenants_needing_cert_renewal. Includes failure-tracking
state so the renewal task can decide on notifications and tenant suspension
without an extra read per tenant.
Fields§
§tn_id: TnId§id_tag: Box<str>§expires_at: Option<Timestamp>None ⇒ tenant has no cert yet (initial bootstrap)
failure_count: u32§last_renewal_error: Option<Box<str>>§notified_at: Option<Timestamp>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TenantCertRenewalRow
impl RefUnwindSafe for TenantCertRenewalRow
impl Send for TenantCertRenewalRow
impl Sync for TenantCertRenewalRow
impl Unpin for TenantCertRenewalRow
impl UnsafeUnpin for TenantCertRenewalRow
impl UnwindSafe for TenantCertRenewalRow
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