pub struct ProfileClassBuilder { /* private fields */ }
Expand description
Builder for ProfileClass
.
Implementations§
Source§impl ProfileClassBuilder
impl ProfileClassBuilder
pub fn back_matter<VALUE: Into<BackMatter>>( &mut self, value: VALUE, ) -> &mut Self
pub fn imports<VALUE: Into<Vec<ImportResource>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn merge<VALUE: Into<MergeControls>>(&mut self, value: VALUE) -> &mut Self
pub fn metadata<VALUE: Into<DocumentMetadata>>( &mut self, value: VALUE, ) -> &mut Self
pub fn modify<VALUE: Into<ModifyControls>>(&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 profile instance.
Sourcepub fn build(&self) -> Result<ProfileClass, ProfileClassBuilderError>
pub fn build(&self) -> Result<ProfileClass, ProfileClassBuilderError>
Trait Implementations§
Source§impl Clone for ProfileClassBuilder
impl Clone for ProfileClassBuilder
Source§fn clone(&self) -> ProfileClassBuilder
fn clone(&self) -> ProfileClassBuilder
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 ProfileClassBuilder
impl RefUnwindSafe for ProfileClassBuilder
impl Send for ProfileClassBuilder
impl Sync for ProfileClassBuilder
impl Unpin for ProfileClassBuilder
impl UnwindSafe for ProfileClassBuilder
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