pub struct ExternalDocumentReference {
pub id_string: String,
pub spdx_document_uri: String,
pub checksum: Checksum,
}Expand description
Fields§
§id_string: StringUnique ID string of the reference.
spdx_document_uri: StringUnique ID for the external document.
checksum: ChecksumChecksum of the external document following the checksum format defined in https://spdx.github.io/spdx-spec/4-file-information/#44-file-checksum.
Implementations§
Trait Implementations§
Source§impl Clone for ExternalDocumentReference
impl Clone for ExternalDocumentReference
Source§fn clone(&self) -> ExternalDocumentReference
fn clone(&self) -> ExternalDocumentReference
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 ExternalDocumentReference
impl Debug for ExternalDocumentReference
Source§impl<'de> Deserialize<'de> for ExternalDocumentReference
impl<'de> Deserialize<'de> for ExternalDocumentReference
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 PartialOrd for ExternalDocumentReference
impl PartialOrd for ExternalDocumentReference
impl Eq for ExternalDocumentReference
impl StructuralPartialEq for ExternalDocumentReference
Auto Trait Implementations§
impl Freeze for ExternalDocumentReference
impl RefUnwindSafe for ExternalDocumentReference
impl Send for ExternalDocumentReference
impl Sync for ExternalDocumentReference
impl Unpin for ExternalDocumentReference
impl UnwindSafe for ExternalDocumentReference
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