pub struct InventoryFile {
pub repo_path: PathBuf,
pub indexed_at: DateTime<Utc>,
pub loops: Vec<LoopMemo>,
}Expand description
Per-repo inventory file serialised to JSON.
Fields§
§repo_path: PathBufAbsolute path of the repo root used for identity confirmation.
indexed_at: DateTime<Utc>Timestamp of the last write (used for TTL validation).
loops: Vec<LoopMemo>Memoised entries, one per unmerged branch.
Trait Implementations§
Source§impl Clone for InventoryFile
impl Clone for InventoryFile
Source§fn clone(&self) -> InventoryFile
fn clone(&self) -> InventoryFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InventoryFile
impl Debug for InventoryFile
Source§impl<'de> Deserialize<'de> for InventoryFile
impl<'de> Deserialize<'de> for InventoryFile
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
Auto Trait Implementations§
impl Freeze for InventoryFile
impl RefUnwindSafe for InventoryFile
impl Send for InventoryFile
impl Sync for InventoryFile
impl Unpin for InventoryFile
impl UnsafeUnpin for InventoryFile
impl UnwindSafe for InventoryFile
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