pub struct StorageEntry {
pub name: String,
pub size: Option<u64>,
}Expand description
A single entry inside a folder-typed storage item, surfaced to the agent so it can see what previous steps wrote.
Fields§
§name: StringFile name relative to the storage folder (no path prefix).
size: Option<u64>File size in bytes, when available.
Trait Implementations§
Source§impl Clone for StorageEntry
impl Clone for StorageEntry
Source§fn clone(&self) -> StorageEntry
fn clone(&self) -> StorageEntry
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 moreAuto Trait Implementations§
impl Freeze for StorageEntry
impl RefUnwindSafe for StorageEntry
impl Send for StorageEntry
impl Sync for StorageEntry
impl Unpin for StorageEntry
impl UnsafeUnpin for StorageEntry
impl UnwindSafe for StorageEntry
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