pub struct InvalidationResult<K> {
pub root: K,
pub invalidated: Vec<K>,
}Expand description
A record of which keys were invalidated in a cascade.
Fields§
§root: KThe key that was directly invalidated.
invalidated: Vec<K>All keys that were cascade-invalidated (including root).
Trait Implementations§
Source§impl<K: Clone> Clone for InvalidationResult<K>
impl<K: Clone> Clone for InvalidationResult<K>
Source§fn clone(&self) -> InvalidationResult<K>
fn clone(&self) -> InvalidationResult<K>
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<K: Debug> Debug for InvalidationResult<K>
impl<K: Debug> Debug for InvalidationResult<K>
Source§impl<'de, K> Deserialize<'de> for InvalidationResult<K>where
K: Deserialize<'de>,
impl<'de, K> Deserialize<'de> for InvalidationResult<K>where
K: Deserialize<'de>,
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<K> Freeze for InvalidationResult<K>where
K: Freeze,
impl<K> RefUnwindSafe for InvalidationResult<K>where
K: RefUnwindSafe,
impl<K> Send for InvalidationResult<K>where
K: Send,
impl<K> Sync for InvalidationResult<K>where
K: Sync,
impl<K> Unpin for InvalidationResult<K>where
K: Unpin,
impl<K> UnsafeUnpin for InvalidationResult<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for InvalidationResult<K>where
K: 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