pub struct AnnotationMapping {
pub source_key: String,
pub id: Option<Uuid>,
pub status: String,
}Expand description
The API-side outcome for one registered annotation.
Fields§
§source_key: String§id: Option<Uuid>None when the annotation could not be stored (unpaired).
status: Stringcreated | updated | unchanged | frozen | unpaired
Trait Implementations§
Source§impl Clone for AnnotationMapping
impl Clone for AnnotationMapping
Source§fn clone(&self) -> AnnotationMapping
fn clone(&self) -> AnnotationMapping
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 AnnotationMapping
impl Debug for AnnotationMapping
Source§impl<'de> Deserialize<'de> for AnnotationMapping
impl<'de> Deserialize<'de> for AnnotationMapping
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 Freeze for AnnotationMapping
impl RefUnwindSafe for AnnotationMapping
impl Send for AnnotationMapping
impl Sync for AnnotationMapping
impl Unpin for AnnotationMapping
impl UnsafeUnpin for AnnotationMapping
impl UnwindSafe for AnnotationMapping
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