pub struct MemoryFile {
pub path: PathBuf,
pub name: String,
pub content: String,
pub staleness: Option<String>,
}Fields§
§path: PathBuf§name: String§content: String§staleness: Option<String>Trait Implementations§
Source§impl Clone for MemoryFile
impl Clone for MemoryFile
Source§fn clone(&self) -> MemoryFile
fn clone(&self) -> MemoryFile
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 MemoryFile
impl RefUnwindSafe for MemoryFile
impl Send for MemoryFile
impl Sync for MemoryFile
impl Unpin for MemoryFile
impl UnsafeUnpin for MemoryFile
impl UnwindSafe for MemoryFile
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