pub struct SnapshotCommandLogBuilder { /* private fields */ }Expand description
Builder for SnapshotCommandLog.
Implementations§
Source§impl SnapshotCommandLogBuilder
impl SnapshotCommandLogBuilder
Sourcepub fn snapshot_id<VALUE: Into<SnapshotId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn snapshot_id<VALUE: Into<SnapshotId>>( &mut self, value: VALUE, ) -> &mut Self
The id of the layer snapshot.
Sourcepub fn build(
&self,
) -> Result<SnapshotCommandLog, SnapshotCommandLogBuilderError>
pub fn build( &self, ) -> Result<SnapshotCommandLog, SnapshotCommandLogBuilderError>
Trait Implementations§
Source§impl Clone for SnapshotCommandLogBuilder
impl Clone for SnapshotCommandLogBuilder
Source§fn clone(&self) -> SnapshotCommandLogBuilder
fn clone(&self) -> SnapshotCommandLogBuilder
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 SnapshotCommandLogBuilder
impl RefUnwindSafe for SnapshotCommandLogBuilder
impl Send for SnapshotCommandLogBuilder
impl Sync for SnapshotCommandLogBuilder
impl Unpin for SnapshotCommandLogBuilder
impl UnsafeUnpin for SnapshotCommandLogBuilder
impl UnwindSafe for SnapshotCommandLogBuilder
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