pub struct RollbackBuilder { /* private fields */ }
Implementations§
Source§impl RollbackBuilder
impl RollbackBuilder
pub fn new() -> Self
Sourcepub fn put_container(self, container: String) -> Self
pub fn put_container(self, container: String) -> Self
Set the container to the Rollback
structure being built.
Sourcepub fn set_container(self, container: String) -> Self
pub fn set_container(self, container: String) -> Self
Set the container you’re rolling back
Sourcepub fn finish(self) -> Result<CompiledAlba, Error>
pub fn finish(self) -> Result<CompiledAlba, Error>
Finish the builder, returning the compiled Rollback
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 Rollback
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 RollbackBuilder
impl Clone for RollbackBuilder
Source§fn clone(&self) -> RollbackBuilder
fn clone(&self) -> RollbackBuilder
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 RollbackBuilder
impl Debug for RollbackBuilder
Source§impl Default for RollbackBuilder
impl Default for RollbackBuilder
Source§fn default() -> RollbackBuilder
fn default() -> RollbackBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RollbackBuilder
impl RefUnwindSafe for RollbackBuilder
impl Send for RollbackBuilder
impl Sync for RollbackBuilder
impl Unpin for RollbackBuilder
impl UnwindSafe for RollbackBuilder
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