pub struct ReleaseSnapshotParams<'a> { /* private fields */ }Expand description
Releases layer snapshot captured by the back-end.
Implementations§
Source§impl<'a> ReleaseSnapshotParams<'a>
impl<'a> ReleaseSnapshotParams<'a>
Sourcepub fn builder(
snapshot_id: impl Into<SnapshotId<'a>>,
) -> ReleaseSnapshotParamsBuilder<'a>
pub fn builder( snapshot_id: impl Into<SnapshotId<'a>>, ) -> ReleaseSnapshotParamsBuilder<'a>
Creates a builder for this type with the required parameters:
snapshot_id: The id of the layer snapshot.
Sourcepub fn snapshot_id(&self) -> &SnapshotId<'a>
pub fn snapshot_id(&self) -> &SnapshotId<'a>
The id of the layer snapshot.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for ReleaseSnapshotParams<'a>
impl<'a> CdpCommand<'a> for ReleaseSnapshotParams<'a>
Source§impl<'a> Clone for ReleaseSnapshotParams<'a>
impl<'a> Clone for ReleaseSnapshotParams<'a>
Source§fn clone(&self) -> ReleaseSnapshotParams<'a>
fn clone(&self) -> ReleaseSnapshotParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ReleaseSnapshotParams<'a>
impl<'a> Debug for ReleaseSnapshotParams<'a>
Source§impl<'a> Default for ReleaseSnapshotParams<'a>
impl<'a> Default for ReleaseSnapshotParams<'a>
Source§fn default() -> ReleaseSnapshotParams<'a>
fn default() -> ReleaseSnapshotParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for ReleaseSnapshotParams<'a>
impl<'de, 'a> Deserialize<'de> for ReleaseSnapshotParams<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for ReleaseSnapshotParams<'a>
impl<'a> RefUnwindSafe for ReleaseSnapshotParams<'a>
impl<'a> Send for ReleaseSnapshotParams<'a>
impl<'a> Sync for ReleaseSnapshotParams<'a>
impl<'a> Unpin for ReleaseSnapshotParams<'a>
impl<'a> UnsafeUnpin for ReleaseSnapshotParams<'a>
impl<'a> UnwindSafe for ReleaseSnapshotParams<'a>
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