pub struct MemoryFile {
pub filename: String,
pub data: MemoryFileData,
}Expand description
Represents the memory file for a patch operation, with the filename and the data.
Fields§
§filename: String§data: MemoryFileDataTrait 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 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