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
§Document Creation Information
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 duplicate 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
impl Eq for DocumentCreationInformation
impl StructuralPartialEq for DocumentCreationInformation
Auto Trait Implementations§
impl Freeze for DocumentCreationInformation
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