pub struct RecordFresh<'a> {
pub session_id: &'a str,
pub agent_id: &'a str,
pub rel_path: &'a str,
pub sha256: &'a str,
pub size: i64,
pub mtime: i64,
pub lines: i64,
pub delivered: bool,
}Expand description
Arguments for record_fresh: a freshly cached file read. delivered = false
is the cross-repo content-stub caller: bytes never reached the model, so
bytes_delivered must not move even though the row is written.
Fields§
§session_id: &'a strThe session id value.
agent_id: &'a strThe agent id value.
rel_path: &'a strThe rel path value.
sha256: &'a strThe sha256 value.
size: i64The size value.
mtime: i64The mtime value.
lines: i64The lines value.
delivered: boolThe delivered value.
Auto Trait Implementations§
impl<'a> Freeze for RecordFresh<'a>
impl<'a> RefUnwindSafe for RecordFresh<'a>
impl<'a> Send for RecordFresh<'a>
impl<'a> Sync for RecordFresh<'a>
impl<'a> Unpin for RecordFresh<'a>
impl<'a> UnsafeUnpin for RecordFresh<'a>
impl<'a> UnwindSafe for RecordFresh<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more