pub struct FileChangeEvent {
pub file_path: PathBuf,
pub service_id: String,
pub changed_variables: Vec<String>,
pub byte_ranges: Vec<(u64, u64)>,
}Expand description
Change event for a variable file
Fields§
§file_path: PathBufPath to the changed file
service_id: StringService ID
changed_variables: Vec<String>Variables that changed
byte_ranges: Vec<(u64, u64)>Byte ranges that changed
Trait Implementations§
Source§impl Clone for FileChangeEvent
impl Clone for FileChangeEvent
Source§fn clone(&self) -> FileChangeEvent
fn clone(&self) -> FileChangeEvent
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 FileChangeEvent
impl RefUnwindSafe for FileChangeEvent
impl Send for FileChangeEvent
impl Sync for FileChangeEvent
impl Unpin for FileChangeEvent
impl UnsafeUnpin for FileChangeEvent
impl UnwindSafe for FileChangeEvent
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