pub struct CreateSnapshotRequest {
pub name: String,
pub ttl_ms: u64,
}Expand description
Request to create a snapshot.
Fields§
§name: StringA label that does not need to be unique.
ttl_ms: u64Snapshot lifetime from the current server time, in milliseconds.
Trait Implementations§
Source§impl Clone for CreateSnapshotRequest
impl Clone for CreateSnapshotRequest
Source§impl Debug for CreateSnapshotRequest
impl Debug for CreateSnapshotRequest
Source§impl<'de> Deserialize<'de> for CreateSnapshotRequest
impl<'de> Deserialize<'de> for CreateSnapshotRequest
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
impl Eq for CreateSnapshotRequest
Source§impl PartialEq for CreateSnapshotRequest
impl PartialEq for CreateSnapshotRequest
Source§impl Serialize for CreateSnapshotRequest
impl Serialize for CreateSnapshotRequest
impl StructuralPartialEq for CreateSnapshotRequest
Auto Trait Implementations§
impl Freeze for CreateSnapshotRequest
impl RefUnwindSafe for CreateSnapshotRequest
impl Send for CreateSnapshotRequest
impl Sync for CreateSnapshotRequest
impl Unpin for CreateSnapshotRequest
impl UnsafeUnpin for CreateSnapshotRequest
impl UnwindSafe for CreateSnapshotRequest
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