pub struct FileEntry {
pub path: PathBuf,
pub format: CadFormat,
pub raw_hash: ObjectId,
pub blob_ref: BlobRef,
pub size_bytes: u64,
pub line_count: Option<u64>,
pub step_metadata: Option<StepMetadata>,
pub mesh_metadata: Option<MeshMetadata>,
}Expand description
A single tracked file inside a Manifest.
(Not Eq: mesh metadata carries floating-point bounds.)
Fields§
§path: PathBufPath relative to the repository root.
format: CadFormat§raw_hash: ObjectIdHash of the full file content (level-1 dedup key); mirrors blob_ref.raw_hash.
blob_ref: BlobRefStorage layout of the file (raw blob + chunks).
size_bytes: u64§line_count: Option<u64>§step_metadata: Option<StepMetadata>B-Rep (STEP) metadata, when applicable.
mesh_metadata: Option<MeshMetadata>Mesh (STL/OBJ) metadata, when applicable.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileEntry
impl<'de> Deserialize<'de> for FileEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for FileEntry
Auto Trait Implementations§
impl Freeze for FileEntry
impl RefUnwindSafe for FileEntry
impl Send for FileEntry
impl Sync for FileEntry
impl Unpin for FileEntry
impl UnsafeUnpin for FileEntry
impl UnwindSafe for FileEntry
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