pub struct InTree {
pub tree: EntityId,
pub path: Option<String>,
}Expand description
Where a secret file of a tree is: the tree whose commit made it, which it belongs to for good, and its path there (technical design: secrets in trees).
Fields§
§tree: EntityIdThe tree.
path: Option<String>Its path in the tree, its last if it was deleted from the tree; of competing paths,
the one in the statement with the smallest ID, as Library::tree_entries gives it.
None if no path that a tree may hold.
Trait Implementations§
impl Eq for InTree
impl StructuralPartialEq for InTree
Auto Trait Implementations§
impl Forget for InTree
impl Freeze for InTree
impl Move for InTree
impl RefUnwindSafe for InTree
impl Send for InTree
impl Sync for InTree
impl Unpin for InTree
impl UnsafeUnpin for InTree
impl UnwindSafe for InTree
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.