pub struct ScanRequest {
pub generation: u64,
pub cwd: PathBuf,
pub scan_policy: ScanPolicy,
pub submitted_at: Instant,
}Expand description
Immutable scan request descriptor.
Fields§
§generation: u64Monotonic scan generation.
cwd: PathBufDirectory being scanned.
scan_policy: ScanPolicyScan policy at submission time.
submitted_at: InstantSubmission timestamp.
Trait Implementations§
Source§impl Clone for ScanRequest
impl Clone for ScanRequest
Source§fn clone(&self) -> ScanRequest
fn clone(&self) -> ScanRequest
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 ScanRequest
impl RefUnwindSafe for ScanRequest
impl Send for ScanRequest
impl Sync for ScanRequest
impl Unpin for ScanRequest
impl UnsafeUnpin for ScanRequest
impl UnwindSafe for ScanRequest
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