pub struct FileOperation {
pub path: String,
pub operation: String,
pub size_bytes: Option<usize>,
pub hash: Option<String>,
pub timestamp: DateTime<Utc>,
}Expand description
Represents a file operation for logging
Fields§
§path: String§operation: String§size_bytes: Option<usize>§hash: Option<String>§timestamp: DateTime<Utc>Trait Implementations§
Source§impl Clone for FileOperation
impl Clone for FileOperation
Source§fn clone(&self) -> FileOperation
fn clone(&self) -> FileOperation
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 FileOperation
impl RefUnwindSafe for FileOperation
impl Send for FileOperation
impl Sync for FileOperation
impl Unpin for FileOperation
impl UnsafeUnpin for FileOperation
impl UnwindSafe for FileOperation
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