pub struct DatasetFile {
pub path: String,
pub slots: Option<SlotRange>,
pub bytes: u64,
pub written_unix_ms: u64,
pub available_until_unix_ms: Option<u64>,
}Expand description
One file of a files dataset.
Fields§
§path: StringRelative to the dataset.
slots: Option<SlotRange>The session’s slots, when its path names them.
bytes: u64The file’s size.
written_unix_ms: u64When the file was written.
available_until_unix_ms: Option<u64>When the file expires; absent for shared datasets.
Trait Implementations§
Source§impl Clone for DatasetFile
impl Clone for DatasetFile
Source§impl Debug for DatasetFile
impl Debug for DatasetFile
Source§impl<'de> Deserialize<'de> for DatasetFile
impl<'de> Deserialize<'de> for DatasetFile
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 Eq for DatasetFile
Source§impl PartialEq for DatasetFile
impl PartialEq for DatasetFile
Source§impl Serialize for DatasetFile
impl Serialize for DatasetFile
impl StructuralPartialEq for DatasetFile
Auto Trait Implementations§
impl Forget for DatasetFile
impl Freeze for DatasetFile
impl Move for DatasetFile
impl RefUnwindSafe for DatasetFile
impl Send for DatasetFilewhere
RawVecInner: Send,
impl Sync for DatasetFilewhere
RawVecInner: Sync,
impl Unpin for DatasetFile
impl UnsafeUnpin for DatasetFile
impl UnwindSafe for DatasetFilewhere
RawVecInner: UnwindSafe,
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