pub struct ReleaseSnapshotBuilder { /* private fields */ }Expand description
Builder for ReleaseSnapshot.
Implementations§
Source§impl ReleaseSnapshotBuilder
impl ReleaseSnapshotBuilder
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<ReleaseSnapshot, ReleaseSnapshotBuilderError>
pub fn build(&self) -> Result<ReleaseSnapshot, ReleaseSnapshotBuilderError>
Trait Implementations§
Source§impl Clone for ReleaseSnapshotBuilder
impl Clone for ReleaseSnapshotBuilder
Source§fn clone(&self) -> ReleaseSnapshotBuilder
fn clone(&self) -> ReleaseSnapshotBuilder
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 ReleaseSnapshotBuilder
impl RefUnwindSafe for ReleaseSnapshotBuilder
impl Send for ReleaseSnapshotBuilder
impl Sync for ReleaseSnapshotBuilder
impl Unpin for ReleaseSnapshotBuilder
impl UnsafeUnpin for ReleaseSnapshotBuilder
impl UnwindSafe for ReleaseSnapshotBuilder
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