pub struct Invalidated {
pub annotation_id: Option<AnnotationId>,
pub reason: InvalidationReason,
}Expand description
An annotation is no longer valid and has been removed.
Fields§
§annotation_id: Option<AnnotationId>The annotation that went away. Absent when a whole display was invalidated.
reason: InvalidationReasonWhy.
Implementations§
Source§impl Invalidated
impl Invalidated
Sourcepub fn one(annotation_id: AnnotationId, reason: InvalidationReason) -> Self
pub fn one(annotation_id: AnnotationId, reason: InvalidationReason) -> Self
One annotation went away.
Trait Implementations§
Source§impl Clone for Invalidated
impl Clone for Invalidated
Source§fn clone(&self) -> Invalidated
fn clone(&self) -> Invalidated
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Invalidated
impl Debug for Invalidated
Source§impl<'de> Deserialize<'de> for Invalidated
impl<'de> Deserialize<'de> for Invalidated
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
Source§impl PartialEq for Invalidated
impl PartialEq for Invalidated
Source§impl Serialize for Invalidated
impl Serialize for Invalidated
impl StructuralPartialEq for Invalidated
Auto Trait Implementations§
impl Freeze for Invalidated
impl RefUnwindSafe for Invalidated
impl Send for Invalidated
impl Sync for Invalidated
impl Unpin for Invalidated
impl UnsafeUnpin for Invalidated
impl UnwindSafe for Invalidated
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