pub struct ComponentDefinitionClassBuilder { /* private fields */ }Expand description
Builder for ComponentDefinitionClass.
Implementations§
Source§impl ComponentDefinitionClassBuilder
impl ComponentDefinitionClassBuilder
pub fn back_matter<VALUE: Into<BackMatter>>( &mut self, value: VALUE, ) -> &mut Self
pub fn capabilities<VALUE: Into<Vec<Capability>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn components<VALUE: Into<Vec<Component>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn import_component_definitions<VALUE: Into<Vec<ImportComponentDefinition>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn metadata<VALUE: Into<DocumentMetadata>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn uuid<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn uuid<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Provides a globally unique means to identify a given component definition instance.
Sourcepub fn build(
&self,
) -> Result<ComponentDefinitionClass, ComponentDefinitionClassBuilderError>
pub fn build( &self, ) -> Result<ComponentDefinitionClass, ComponentDefinitionClassBuilderError>
Trait Implementations§
Source§impl Clone for ComponentDefinitionClassBuilder
impl Clone for ComponentDefinitionClassBuilder
Source§fn clone(&self) -> ComponentDefinitionClassBuilder
fn clone(&self) -> ComponentDefinitionClassBuilder
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 moreAuto Trait Implementations§
impl Freeze for ComponentDefinitionClassBuilder
impl RefUnwindSafe for ComponentDefinitionClassBuilder
impl Send for ComponentDefinitionClassBuilder
impl Sync for ComponentDefinitionClassBuilder
impl Unpin for ComponentDefinitionClassBuilder
impl UnwindSafe for ComponentDefinitionClassBuilder
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