pub struct RestoreComputerSpec {
pub id: Option<String>,
pub snapshot_id: String,
pub labels: HashMap<String, String>,
pub network_override: bool,
pub ttl_seconds: u32,
}Expand description
Parameters to restore a sandbox from a checkpoint.
Fields§
§id: Option<String>Caller-supplied ID (None = auto-generate).
snapshot_id: StringSource checkpoint/snapshot ID.
labels: HashMap<String, String>Labels to assign to the restored sandbox.
network_override: boolAssign a fresh TAP + IP to the restored sandbox.
ttl_seconds: u32Auto-destroy TTL in seconds (0 = no limit).
Trait Implementations§
Source§impl Clone for RestoreComputerSpec
impl Clone for RestoreComputerSpec
Source§impl Debug for RestoreComputerSpec
impl Debug for RestoreComputerSpec
Auto Trait Implementations§
impl Freeze for RestoreComputerSpec
impl RefUnwindSafe for RestoreComputerSpec
impl Send for RestoreComputerSpec
impl Sync for RestoreComputerSpec
impl Unpin for RestoreComputerSpec
impl UnsafeUnpin for RestoreComputerSpec
impl UnwindSafe for RestoreComputerSpec
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