Struct spdx_rs::models::DocumentCreationInformation [−][src]
pub struct DocumentCreationInformation {
pub spdx_version: String,
pub data_license: String,
pub spdx_identifier: String,
pub document_name: String,
pub spdx_document_namespace: String,
pub external_document_references: Vec<ExternalDocumentReference>,
pub creation_info: CreationInfo,
pub document_comment: Option<String>,
pub document_describes: Vec<String>,
}
Expand description
Fields
spdx_version: String
data_license: String
spdx_identifier: String
document_name: String
spdx_document_namespace: String
external_document_references: Vec<ExternalDocumentReference>
creation_info: CreationInfo
document_comment: Option<String>
document_describes: Vec<String>
Doesn’t seem to be in spec, but the example contains it. https://github.com/spdx/spdx-spec/issues/395
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
Auto Trait Implementations
impl RefUnwindSafe for DocumentCreationInformation
impl Send for DocumentCreationInformation
impl Sync for DocumentCreationInformation
impl Unpin for DocumentCreationInformation
impl UnwindSafe for DocumentCreationInformation
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