pub struct RevocationState {
pub revoked_tasks: HashMap<String, RevocationRequest>,
pub pattern_revocations: Vec<SerializablePatternRevocation>,
}Expand description
Serializable revocation state for persistence
Fields§
§revoked_tasks: HashMap<String, RevocationRequest>Revoked task IDs (task_id -> request)
pattern_revocations: Vec<SerializablePatternRevocation>Pattern-based revocations (serializable form)
Trait Implementations§
Source§impl Clone for RevocationState
impl Clone for RevocationState
Source§fn clone(&self) -> RevocationState
fn clone(&self) -> RevocationState
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 RevocationState
impl Debug for RevocationState
Source§impl Default for RevocationState
impl Default for RevocationState
Source§fn default() -> RevocationState
fn default() -> RevocationState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RevocationState
impl<'de> Deserialize<'de> for RevocationState
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 RevocationState
impl RefUnwindSafe for RevocationState
impl Send for RevocationState
impl Sync for RevocationState
impl Unpin for RevocationState
impl UnwindSafe for RevocationState
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