pub struct AnnotationsRemovedAction {
pub annotation_id: String,
}Expand description
Remove an {@link Annotation} from the channel by its id.
Dispatched to delete an entire annotation and every entry it contains. Because the protocol forbids empty annotations, a client that wants to remove the last remaining entry dispatches this action — collapsing the annotation — rather than {@link AnnotationsEntryRemovedAction}.
Fields§
§annotation_id: StringThe {@link Annotation.id} of the annotation to remove.
Trait Implementations§
Source§impl Clone for AnnotationsRemovedAction
impl Clone for AnnotationsRemovedAction
Source§fn clone(&self) -> AnnotationsRemovedAction
fn clone(&self) -> AnnotationsRemovedAction
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 AnnotationsRemovedAction
impl Debug for AnnotationsRemovedAction
Source§impl<'de> Deserialize<'de> for AnnotationsRemovedAction
impl<'de> Deserialize<'de> for AnnotationsRemovedAction
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 AnnotationsRemovedAction
impl PartialEq for AnnotationsRemovedAction
Source§fn eq(&self, other: &AnnotationsRemovedAction) -> bool
fn eq(&self, other: &AnnotationsRemovedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AnnotationsRemovedAction
impl Serialize for AnnotationsRemovedAction
impl StructuralPartialEq for AnnotationsRemovedAction
Auto Trait Implementations§
impl Freeze for AnnotationsRemovedAction
impl RefUnwindSafe for AnnotationsRemovedAction
impl Send for AnnotationsRemovedAction
impl Sync for AnnotationsRemovedAction
impl Unpin for AnnotationsRemovedAction
impl UnsafeUnpin for AnnotationsRemovedAction
impl UnwindSafe for AnnotationsRemovedAction
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