pub struct RestoreSandboxSpec {
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 RestoreSandboxSpec
impl Clone for RestoreSandboxSpec
Source§impl Debug for RestoreSandboxSpec
impl Debug for RestoreSandboxSpec
Auto Trait Implementations§
impl Freeze for RestoreSandboxSpec
impl RefUnwindSafe for RestoreSandboxSpec
impl Send for RestoreSandboxSpec
impl Sync for RestoreSandboxSpec
impl Unpin for RestoreSandboxSpec
impl UnsafeUnpin for RestoreSandboxSpec
impl UnwindSafe for RestoreSandboxSpec
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