pub struct RevocationSchedule {
pub scheduled_at: String,
pub reason: String,
pub scheduled_by: String,
pub notify_before: bool,
pub notify_days_before: u32,
pub grace_period_hours: u32,
}Expand description
Auto-revocation schedule
Fields§
§scheduled_at: StringWhen the auto-revocation is scheduled (ISO 8601)
reason: StringReason for scheduled revocation
scheduled_by: StringWho scheduled the revocation
notify_before: boolWhether to notify before revocation
notify_days_before: u32Days before revocation to send notification
grace_period_hours: u32Grace period after scheduled time before actual revocation (hours)
Implementations§
Trait Implementations§
Source§impl Clone for RevocationSchedule
impl Clone for RevocationSchedule
Source§fn clone(&self) -> RevocationSchedule
fn clone(&self) -> RevocationSchedule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RevocationSchedule
impl Debug for RevocationSchedule
Source§impl<'de> Deserialize<'de> for RevocationSchedule
impl<'de> Deserialize<'de> for RevocationSchedule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RevocationSchedule
impl RefUnwindSafe for RevocationSchedule
impl Send for RevocationSchedule
impl Sync for RevocationSchedule
impl Unpin for RevocationSchedule
impl UnwindSafe for RevocationSchedule
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