pub struct Clear {
pub annotation_id: Option<AnnotationId>,
pub all: bool,
}Expand description
Remove annotations. Only ever affects the calling session’s own annotations.
Fields§
§annotation_id: Option<AnnotationId>Clear one annotation.
all: boolClear every annotation in this session.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Clear
impl<'de> Deserialize<'de> for Clear
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
impl StructuralPartialEq for Clear
Auto Trait Implementations§
impl Freeze for Clear
impl RefUnwindSafe for Clear
impl Send for Clear
impl Sync for Clear
impl Unpin for Clear
impl UnsafeUnpin for Clear
impl UnwindSafe for Clear
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