pub struct CheckedOut {
pub checkout: EntityId,
pub file: EntityId,
pub path: PathBuf,
pub content: Hash,
pub written: bool,
}Expand description
What checking out a file did.
Fields§
§checkout: EntityIdThe checkout’s record.
file: EntityIdThe file.
path: PathBufWhere its copy is.
content: HashThe content written.
written: boolWhether it was written now, or was there already, unchanged.
Trait Implementations§
Source§impl Clone for CheckedOut
impl Clone for CheckedOut
Source§impl Debug for CheckedOut
impl Debug for CheckedOut
impl Eq for CheckedOut
Source§impl PartialEq for CheckedOut
impl PartialEq for CheckedOut
impl StructuralPartialEq for CheckedOut
Auto Trait Implementations§
impl Forget for CheckedOut
impl Freeze for CheckedOut
impl Move for CheckedOut
impl RefUnwindSafe for CheckedOut
impl Send for CheckedOut
impl Sync for CheckedOut
impl Unpin for CheckedOut
impl UnsafeUnpin for CheckedOut
impl UnwindSafe for CheckedOut
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.