pub struct CommentAnnotation {
pub id: String,
pub namespace: Option<String>,
pub annotator: Option<String>,
pub description: Option<String>,
pub annotation_ref: Vec<AnnotationRef>,
pub value: String,
}Fields§
§id: String§namespace: Option<String>§annotator: Option<String>§description: Option<String>§annotation_ref: Vec<AnnotationRef>§value: StringImplementations§
Trait Implementations§
Source§impl Clone for CommentAnnotation
impl Clone for CommentAnnotation
Source§fn clone(&self) -> CommentAnnotation
fn clone(&self) -> CommentAnnotation
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 CommentAnnotation
impl Debug for CommentAnnotation
Source§impl Default for CommentAnnotation
impl Default for CommentAnnotation
Source§fn default() -> CommentAnnotation
fn default() -> CommentAnnotation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommentAnnotation
impl<'de> Deserialize<'de> for CommentAnnotation
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 CommentAnnotation
impl PartialEq for CommentAnnotation
Source§fn eq(&self, other: &CommentAnnotation) -> bool
fn eq(&self, other: &CommentAnnotation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommentAnnotation
impl Serialize for CommentAnnotation
impl StructuralPartialEq for CommentAnnotation
Auto Trait Implementations§
impl Freeze for CommentAnnotation
impl RefUnwindSafe for CommentAnnotation
impl Send for CommentAnnotation
impl Sync for CommentAnnotation
impl Unpin for CommentAnnotation
impl UnsafeUnpin for CommentAnnotation
impl UnwindSafe for CommentAnnotation
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