pub struct InstanceSnapshotsPost {
pub expires_at: Option<DateTime<FixedOffset>>,
pub name: Option<String>,
pub stateful: Option<bool>,
}Fields§
§expires_at: Option<DateTime<FixedOffset>>When the snapshot expires (gets auto-deleted)
name: Option<String>Snapshot name
stateful: Option<bool>Whether the snapshot should include runtime state
Implementations§
Source§impl InstanceSnapshotsPost
impl InstanceSnapshotsPost
pub fn new() -> InstanceSnapshotsPost
Trait Implementations§
Source§impl Clone for InstanceSnapshotsPost
impl Clone for InstanceSnapshotsPost
Source§fn clone(&self) -> InstanceSnapshotsPost
fn clone(&self) -> InstanceSnapshotsPost
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 Debug for InstanceSnapshotsPost
impl Debug for InstanceSnapshotsPost
Source§impl Default for InstanceSnapshotsPost
impl Default for InstanceSnapshotsPost
Source§fn default() -> InstanceSnapshotsPost
fn default() -> InstanceSnapshotsPost
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InstanceSnapshotsPost
impl<'de> Deserialize<'de> for InstanceSnapshotsPost
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
Source§impl PartialEq for InstanceSnapshotsPost
impl PartialEq for InstanceSnapshotsPost
Source§fn eq(&self, other: &InstanceSnapshotsPost) -> bool
fn eq(&self, other: &InstanceSnapshotsPost) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InstanceSnapshotsPost
impl Serialize for InstanceSnapshotsPost
impl StructuralPartialEq for InstanceSnapshotsPost
Auto Trait Implementations§
impl Freeze for InstanceSnapshotsPost
impl RefUnwindSafe for InstanceSnapshotsPost
impl Send for InstanceSnapshotsPost
impl Sync for InstanceSnapshotsPost
impl Unpin for InstanceSnapshotsPost
impl UnsafeUnpin for InstanceSnapshotsPost
impl UnwindSafe for InstanceSnapshotsPost
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