pub struct Listing {
pub last_modified: Option<String>,
pub name: Option<String>,
}Fields§
§last_modified: Option<String>LastModified is when the BYTES last changed, as RFC 3339 in UTC to the second — 2026-01-02T03:04:05Z, the sandbox’s own date -u -r on the file. It is an mtime and not a creation time, so a file a later run overwrote carries that run’s clock. Never empty: a row exists only because find stat-ed the file.
name: Option<String>Name is the file’s IDENTIFIER, {session_id}/{fileId} whole — never the bare filename, and never URL-escaped. It is exactly what GET /v1/exec/download takes after its prefix, and hanzo.chat matches it as a PREFIX (name.startsWith(session + \"/\")) to decide which rows belong to a session it is holding. fileId is the path RELATIVE to the session’s artifact directory, so it carries / for anything the run wrote in a sub-directory.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Listing
impl<'de> Deserialize<'de> for Listing
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
impl StructuralPartialEq for Listing
Auto Trait Implementations§
impl Freeze for Listing
impl RefUnwindSafe for Listing
impl Send for Listing
impl Sync for Listing
impl Unpin for Listing
impl UnsafeUnpin for Listing
impl UnwindSafe for Listing
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