pub struct CodeFile {
pub id: Option<String>,
pub name: Option<String>,
pub session_id: Option<String>,
pub storage_session_id: Option<String>,
}Fields§
§id: Option<String>ID is the file’s path RELATIVE to its session’s artifact directory, which is also how it is fetched: GET /v1/exec/download/{session}/{id}.
name: Option<String>Name is the display name. On an ANSWER it carries the {session}/{id} identifier whole, because the client matches on that prefix.
session_id: Option<String>SessionID is the other accepted spelling of the same fact on the way IN. Both are read; whichever is set wins.
storage_session_id: Option<String>StorageSessionID names the session holding the bytes, and is the spelling the answer always uses.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CodeFile
impl<'de> Deserialize<'de> for CodeFile
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 CodeFile
Auto Trait Implementations§
impl Freeze for CodeFile
impl RefUnwindSafe for CodeFile
impl Send for CodeFile
impl Sync for CodeFile
impl Unpin for CodeFile
impl UnsafeUnpin for CodeFile
impl UnwindSafe for CodeFile
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