pub struct SavedFile {
pub path: String,
pub size: usize,
}Available on crate feature
mcp and non-WebAssembly only.Expand description
A file a save tool wrote.
Fields§
§path: StringThe absolute path of the file that was written.
size: usizeHow many bytes were written.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SavedFile
impl Freeze for SavedFile
impl RefUnwindSafe for SavedFile
impl Send for SavedFile
impl Sync for SavedFile
impl Unpin for SavedFile
impl UnsafeUnpin for SavedFile
impl UnwindSafe for SavedFile
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