Struct spdx_rs::models::PackageVerificationCode
source · pub struct PackageVerificationCode {
pub value: String,
pub excludes: Vec<String>,
}
Expand description
Fields§
§value: String
Value of the verification code.
excludes: Vec<String>
Files that were excluded when calculating the verification code.
Implementations§
Trait Implementations§
source§impl Clone for PackageVerificationCode
impl Clone for PackageVerificationCode
source§fn clone(&self) -> PackageVerificationCode
fn clone(&self) -> PackageVerificationCode
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 PackageVerificationCode
impl Debug for PackageVerificationCode
source§impl<'de> Deserialize<'de> for PackageVerificationCode
impl<'de> Deserialize<'de> for PackageVerificationCode
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<PackageVerificationCode> for PackageVerificationCode
impl PartialEq<PackageVerificationCode> for PackageVerificationCode
source§fn eq(&self, other: &PackageVerificationCode) -> bool
fn eq(&self, other: &PackageVerificationCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PackageVerificationCode> for PackageVerificationCode
impl PartialOrd<PackageVerificationCode> for PackageVerificationCode
source§fn partial_cmp(&self, other: &PackageVerificationCode) -> Option<Ordering>
fn partial_cmp(&self, other: &PackageVerificationCode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for PackageVerificationCode
impl Serialize for PackageVerificationCode
impl Eq for PackageVerificationCode
impl StructuralEq for PackageVerificationCode
impl StructuralPartialEq for PackageVerificationCode
Auto Trait Implementations§
impl RefUnwindSafe for PackageVerificationCode
impl Send for PackageVerificationCode
impl Sync for PackageVerificationCode
impl Unpin for PackageVerificationCode
impl UnwindSafe for PackageVerificationCode
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