pub struct DefinedStandard {
pub bom_ref: Option<String>,
pub name: Option<String>,
pub version: Option<String>,
pub description: Option<String>,
pub owner: Option<String>,
pub requirements: Vec<DefinedRequirement>,
pub signature: Option<SignaturePresence>,
}Expand description
One definitions.standards[] entry: a machine-readable standard encoding.
(levels are not normalized in phase 1.)
Fields§
§bom_ref: Option<String>§name: Option<String>§version: Option<String>§description: Option<String>§owner: Option<String>§requirements: Vec<DefinedRequirement>§signature: Option<SignaturePresence>JSF signature presence (structural only, never verified).
Trait Implementations§
Source§impl Clone for DefinedStandard
impl Clone for DefinedStandard
Source§fn clone(&self) -> DefinedStandard
fn clone(&self) -> DefinedStandard
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DefinedStandard
impl Debug for DefinedStandard
Source§impl Default for DefinedStandard
impl Default for DefinedStandard
Source§fn default() -> DefinedStandard
fn default() -> DefinedStandard
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DefinedStandard
impl<'de> Deserialize<'de> for DefinedStandard
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 for DefinedStandard
impl PartialEq for DefinedStandard
Source§impl Serialize for DefinedStandard
impl Serialize for DefinedStandard
impl StructuralPartialEq for DefinedStandard
Auto Trait Implementations§
impl Freeze for DefinedStandard
impl RefUnwindSafe for DefinedStandard
impl Send for DefinedStandard
impl Sync for DefinedStandard
impl Unpin for DefinedStandard
impl UnsafeUnpin for DefinedStandard
impl UnwindSafe for DefinedStandard
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more