Struct git_odb::data::output::Count [−][src]
pub struct Count {
pub id: ObjectId,
pub entry_pack_location: PackLocation,
}
Expand description
An item representing a future Entry in the leanest way possible.
One can expect to have one of these in memory when building big objects, so smaller is better here. They should contain everything of importance to generate a pack as fast as possible.
Fields
id: ObjectId
The hash of the object to write
entry_pack_location: PackLocation
A way to locate a pack entry in the object database, only available if the object is in a pack.
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Count
impl UnwindSafe for Count
Blanket Implementations
Mutably borrows from an owned value. Read more