pub struct LocalFilesSource {
pub paths: Vec<String>,
pub contents: Vec<String>,
}Expand description
Local files fingerprinting
Fields§
§paths: Vec<String>§contents: Vec<String>Trait Implementations§
Source§impl Fingerprintable for LocalFilesSource
impl Fingerprintable for LocalFilesSource
Source§fn create_fingerprint(&self) -> Result<ContentFingerprint, Box<dyn Error>>
fn create_fingerprint(&self) -> Result<ContentFingerprint, Box<dyn Error>>
Create a content fingerprint for this source
Source§fn has_changed(
&self,
last_fingerprint: &ContentFingerprint,
) -> Result<bool, Box<dyn Error>>
fn has_changed( &self, last_fingerprint: &ContentFingerprint, ) -> Result<bool, Box<dyn Error>>
Check if content has changed since the last fingerprint
Auto Trait Implementations§
impl Freeze for LocalFilesSource
impl RefUnwindSafe for LocalFilesSource
impl Send for LocalFilesSource
impl Sync for LocalFilesSource
impl Unpin for LocalFilesSource
impl UnwindSafe for LocalFilesSource
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