pub struct MetadataBuilder { /* private fields */ }Expand description
Builder for Metadata.
Implementations§
Source§impl MetadataBuilder
impl MetadataBuilder
pub fn time_stamp(&mut self, value: String) -> &mut Self
pub fn tools(&mut self, value: Option<ToolTypes>) -> &mut Self
pub fn component(&mut self, value: Option<Component>) -> &mut Self
pub fn manufacture(&mut self, value: Vec<OrganizationalEntity>) -> &mut Self
pub fn supplier(&mut self, value: Vec<OrganizationalEntity>) -> &mut Self
Trait Implementations§
Source§impl Clone for MetadataBuilder
impl Clone for MetadataBuilder
Source§fn clone(&self) -> MetadataBuilder
fn clone(&self) -> MetadataBuilder
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 MetadataBuilder
impl Default for MetadataBuilder
Source§fn default() -> MetadataBuilder
fn default() -> MetadataBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MetadataBuilder
impl RefUnwindSafe for MetadataBuilder
impl Send for MetadataBuilder
impl Sync for MetadataBuilder
impl Unpin for MetadataBuilder
impl UnwindSafe for MetadataBuilder
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