pub enum FileMutationEvent {
Create {
result: FileStorageResult,
event: FileEvent,
},
Move(FileEvent),
Delete(FileEvent),
}Expand description
Wraps the file storage information and a related file event that can be persisted to an event log.
Variants§
Create
File was created.
Fields
§
result: FileStorageResultInformation the created file.
Move(FileEvent)
File was moved.
Delete(FileEvent)
File was deleted.
Trait Implementations§
Source§impl Clone for FileMutationEvent
impl Clone for FileMutationEvent
Source§fn clone(&self) -> FileMutationEvent
fn clone(&self) -> FileMutationEvent
Returns a copy 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 FileMutationEvent
impl RefUnwindSafe for FileMutationEvent
impl Send for FileMutationEvent
impl Sync for FileMutationEvent
impl Unpin for FileMutationEvent
impl UnwindSafe for FileMutationEvent
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