pub struct EsRename {
pub source: EsFile,
pub destination_existing: Option<EsFile>,
pub destintaion_newpath: Option<(EsFile, String)>,
}
Expand description
Info returned by Notify/Auth Rename events.
Fields§
§source: EsFile
source file to rename
destination_existing: Option<EsFile>
destination of renamed file if filename with same name already exists
destintaion_newpath: Option<(EsFile, String)>
destination of renamed file if filename with same name doesn’t exists
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EsRename
impl RefUnwindSafe for EsRename
impl Send for EsRename
impl Sync for EsRename
impl Unpin for EsRename
impl UnwindSafe for EsRename
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