pub struct AnnotationsEntrySetAction {
pub annotation_id: String,
pub entry: AnnotationEntry,
}Expand description
Upsert an {@link AnnotationEntry} within an existing annotation — adds a new entry, or replaces one identified by {@link AnnotationEntry.id}. The dispatching client assigns the {@link AnnotationEntry.id} of a new entry. If {@link annotationId} does not match any current annotation the action is a no-op.
Fields§
§annotation_id: StringThe {@link Annotation.id} the entry belongs to.
entry: AnnotationEntryThe new or replacement entry.
Trait Implementations§
Source§impl Clone for AnnotationsEntrySetAction
impl Clone for AnnotationsEntrySetAction
Source§fn clone(&self) -> AnnotationsEntrySetAction
fn clone(&self) -> AnnotationsEntrySetAction
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 AnnotationsEntrySetAction
impl Debug for AnnotationsEntrySetAction
Source§impl<'de> Deserialize<'de> for AnnotationsEntrySetAction
impl<'de> Deserialize<'de> for AnnotationsEntrySetAction
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 AnnotationsEntrySetAction
impl PartialEq for AnnotationsEntrySetAction
Source§fn eq(&self, other: &AnnotationsEntrySetAction) -> bool
fn eq(&self, other: &AnnotationsEntrySetAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnnotationsEntrySetAction
Auto Trait Implementations§
impl Freeze for AnnotationsEntrySetAction
impl RefUnwindSafe for AnnotationsEntrySetAction
impl Send for AnnotationsEntrySetAction
impl Sync for AnnotationsEntrySetAction
impl Unpin for AnnotationsEntrySetAction
impl UnsafeUnpin for AnnotationsEntrySetAction
impl UnwindSafe for AnnotationsEntrySetAction
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