pub struct BinaryFileChange {
pub file_path: String,
pub status: FileStatus,
pub old_file_path: Option<String>,
}Fields§
§file_path: String§status: FileStatus§old_file_path: Option<String>Trait Implementations§
Source§impl Clone for BinaryFileChange
impl Clone for BinaryFileChange
Source§fn clone(&self) -> BinaryFileChange
fn clone(&self) -> BinaryFileChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinaryFileChange
impl Debug for BinaryFileChange
Source§impl From<&FileChange> for BinaryFileChange
impl From<&FileChange> for BinaryFileChange
Source§fn from(file: &FileChange) -> Self
fn from(file: &FileChange) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BinaryFileChange
impl RefUnwindSafe for BinaryFileChange
impl Send for BinaryFileChange
impl Sync for BinaryFileChange
impl Unpin for BinaryFileChange
impl UnsafeUnpin for BinaryFileChange
impl UnwindSafe for BinaryFileChange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more