pub struct GuestPrimarySessionV1 {
pub format: String,
pub logical_cwd: String,
pub saved_at_unix_ms: u64,
}Expand description
Serialize / deserialize guest-primary session file under ENV_DEVSHELL_WORKSPACE_ROOT.
Fields§
§format: String§logical_cwd: StringLogical cwd (absolute Unix-style path) restored on startup.
saved_at_unix_ms: u64Wall time when saved (milliseconds since UNIX epoch).
Trait Implementations§
Source§impl Clone for GuestPrimarySessionV1
impl Clone for GuestPrimarySessionV1
Source§fn clone(&self) -> GuestPrimarySessionV1
fn clone(&self) -> GuestPrimarySessionV1
Returns a duplicate of the value. Read more
1.0.0 · 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 GuestPrimarySessionV1
impl Debug for GuestPrimarySessionV1
Source§impl<'de> Deserialize<'de> for GuestPrimarySessionV1
impl<'de> Deserialize<'de> for GuestPrimarySessionV1
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 GuestPrimarySessionV1
impl PartialEq for GuestPrimarySessionV1
Source§impl Serialize for GuestPrimarySessionV1
impl Serialize for GuestPrimarySessionV1
impl Eq for GuestPrimarySessionV1
impl StructuralPartialEq for GuestPrimarySessionV1
Auto Trait Implementations§
impl Freeze for GuestPrimarySessionV1
impl RefUnwindSafe for GuestPrimarySessionV1
impl Send for GuestPrimarySessionV1
impl Sync for GuestPrimarySessionV1
impl Unpin for GuestPrimarySessionV1
impl UnsafeUnpin for GuestPrimarySessionV1
impl UnwindSafe for GuestPrimarySessionV1
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