pub struct GlobalSessionEntry {
pub zig_session_id: String,
pub workflow_name: String,
pub project: String,
pub log_path: String,
pub started_at: String,
pub ended_at: Option<String>,
pub status: Option<SessionStatus>,
}Expand description
Global cross-project index entry (~/.zig/sessions_index.json).
Mirrors zag’s GlobalSessionEntry (zag-agent/src/session_log.rs:229).
Fields§
§zig_session_id: String§workflow_name: String§project: String§log_path: String§started_at: String§ended_at: Option<String>§status: Option<SessionStatus>Trait Implementations§
Source§impl Clone for GlobalSessionEntry
impl Clone for GlobalSessionEntry
Source§fn clone(&self) -> GlobalSessionEntry
fn clone(&self) -> GlobalSessionEntry
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 GlobalSessionEntry
impl Debug for GlobalSessionEntry
Source§impl<'de> Deserialize<'de> for GlobalSessionEntry
impl<'de> Deserialize<'de> for GlobalSessionEntry
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
Auto Trait Implementations§
impl Freeze for GlobalSessionEntry
impl RefUnwindSafe for GlobalSessionEntry
impl Send for GlobalSessionEntry
impl Sync for GlobalSessionEntry
impl Unpin for GlobalSessionEntry
impl UnsafeUnpin for GlobalSessionEntry
impl UnwindSafe for GlobalSessionEntry
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