Struct spdx_rs::models::Annotation [−][src]
pub struct Annotation {
pub annotator: String,
pub annotation_date: DateTime<Utc>,
pub annotation_type: AnnotationType,
pub spdx_identifier_reference: Option<String>,
pub annotation_comment: String,
}
Expand description
Fields
annotator: String
annotation_date: DateTime<Utc>
annotation_type: AnnotationType
spdx_identifier_reference: Option<String>
annotation_comment: String
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnwindSafe for Annotation
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more