pub struct TreeLogEntry {
pub change: String,
pub at: u64,
pub author: Option<Author>,
pub revision: Option<EntityId>,
pub message: Option<String>,
pub part: Option<(u64, u64)>,
pub changes: Vec<TreeChange>,
}Expand description
A change to a tree, as its log lists it.
Fields§
§change: StringThe change, by its ID: of a commit, its first part’s, which made its revision.
at: u64When it was made, in milliseconds since 1970.
Who made it, as far as the space knows.
revision: Option<EntityId>The commit’s revision, if it was a commit.
message: Option<String>The revision’s message, if it has one.
part: Option<(u64, u64)>Of a commit whose parts have not all arrived: how many have, and how many it has.
changes: Vec<TreeChange>What it did to the tree’s files and links, by path.
Trait Implementations§
Source§impl Clone for TreeLogEntry
impl Clone for TreeLogEntry
Source§impl Debug for TreeLogEntry
impl Debug for TreeLogEntry
impl Eq for TreeLogEntry
Source§impl PartialEq for TreeLogEntry
impl PartialEq for TreeLogEntry
impl StructuralPartialEq for TreeLogEntry
Auto Trait Implementations§
impl Forget for TreeLogEntry
impl Freeze for TreeLogEntry
impl Move for TreeLogEntry
impl RefUnwindSafe for TreeLogEntry
impl Send for TreeLogEntry
impl Sync for TreeLogEntry
impl Unpin for TreeLogEntry
impl UnsafeUnpin for TreeLogEntry
impl UnwindSafe for TreeLogEntry
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.