Struct spdx_rs::models::DocumentCreationInformation
source · 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§
source§impl Clone for DocumentCreationInformation
impl Clone for DocumentCreationInformation
source§fn clone(&self) -> DocumentCreationInformation
fn clone(&self) -> DocumentCreationInformation
Returns a copy of the value. Read more
1.0.0 · 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 DocumentCreationInformation
impl Debug for DocumentCreationInformation
source§impl<'de> Deserialize<'de> for DocumentCreationInformation
impl<'de> Deserialize<'de> for DocumentCreationInformation
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<DocumentCreationInformation> for DocumentCreationInformation
impl PartialEq<DocumentCreationInformation> for DocumentCreationInformation
source§fn eq(&self, other: &DocumentCreationInformation) -> bool
fn eq(&self, other: &DocumentCreationInformation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DocumentCreationInformation
impl StructuralEq for DocumentCreationInformation
impl StructuralPartialEq for DocumentCreationInformation
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§
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