pub struct CycloneDXBuilder { /* private fields */ }Expand description
Builder for CycloneDX.
Implementations§
Source§impl CycloneDXBuilder
impl CycloneDXBuilder
pub fn bom_format(&mut self, value: String) -> &mut Self
pub fn spec_version(&mut self, value: String) -> &mut Self
pub fn version(&mut self, value: String) -> &mut Self
pub fn serial_number(&mut self, value: String) -> &mut Self
pub fn metadata(&mut self, value: Option<Metadata>) -> &mut Self
pub fn components(&mut self, value: Option<Components>) -> &mut Self
pub fn services(&mut self, value: Option<Services>) -> &mut Self
pub fn dependencies(&mut self, value: Option<DependencyTypes>) -> &mut Self
Trait Implementations§
Source§impl Clone for CycloneDXBuilder
impl Clone for CycloneDXBuilder
Source§fn clone(&self) -> CycloneDXBuilder
fn clone(&self) -> CycloneDXBuilder
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 Default for CycloneDXBuilder
impl Default for CycloneDXBuilder
Source§fn default() -> CycloneDXBuilder
fn default() -> CycloneDXBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CycloneDXBuilder
impl RefUnwindSafe for CycloneDXBuilder
impl Send for CycloneDXBuilder
impl Sync for CycloneDXBuilder
impl Unpin for CycloneDXBuilder
impl UnwindSafe for CycloneDXBuilder
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