pub struct DriftEntry {
pub file: String,
pub status: DriftStatus,
pub name: Option<String>,
}Expand description
One *.toml in a preset directory, as drift judged it.
Fields§
§file: StringThe file name alone, without the directory.
status: DriftStatusIts standing against the shipped set.
name: Option<String>The display name the file compiles to, or None when it does not
compile — a file that cannot be read is judged by its name alone.
Trait Implementations§
Source§impl Clone for DriftEntry
impl Clone for DriftEntry
Source§fn clone(&self) -> DriftEntry
fn clone(&self) -> DriftEntry
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 DriftEntry
impl Debug for DriftEntry
Source§impl PartialEq for DriftEntry
impl PartialEq for DriftEntry
Source§fn eq(&self, other: &DriftEntry) -> bool
fn eq(&self, other: &DriftEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DriftEntry
impl StructuralPartialEq for DriftEntry
Auto Trait Implementations§
impl Freeze for DriftEntry
impl RefUnwindSafe for DriftEntry
impl Send for DriftEntry
impl Sync for DriftEntry
impl Unpin for DriftEntry
impl UnsafeUnpin for DriftEntry
impl UnwindSafe for DriftEntry
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.