pub struct CommitBuilder { /* private fields */ }
Implementations§
Source§impl CommitBuilder
impl CommitBuilder
pub fn new() -> Self
Sourcepub fn set_container(self, container: String) -> Self
pub fn set_container(self, container: String) -> Self
Set the container you’re commiting to
Sourcepub fn finish(self) -> Result<CompiledAlba, Error>
pub fn finish(self) -> Result<CompiledAlba, Error>
Finish the builder, returning the compiled Commit
bytes in the CompiledAlba
type.
Sourcepub fn cloned_finish(&self) -> Result<CompiledAlba, Error>
pub fn cloned_finish(&self) -> Result<CompiledAlba, Error>
Finish the builder, returning the compiled Commit
bytes in the CompiledAlba
type.
The difference between this method and the finish
is that by using this one you can compile multiple times to recicle the builder.
Trait Implementations§
Source§impl Clone for CommitBuilder
impl Clone for CommitBuilder
Source§fn clone(&self) -> CommitBuilder
fn clone(&self) -> CommitBuilder
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 Debug for CommitBuilder
impl Debug for CommitBuilder
Source§impl Default for CommitBuilder
impl Default for CommitBuilder
Source§fn default() -> CommitBuilder
fn default() -> CommitBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommitBuilder
impl RefUnwindSafe for CommitBuilder
impl Send for CommitBuilder
impl Sync for CommitBuilder
impl Unpin for CommitBuilder
impl UnwindSafe for CommitBuilder
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