pub struct RecordContent<'a> {
pub session_id: &'a str,
pub agent_id: &'a str,
pub sha256: &'a str,
pub root: &'a str,
pub rel_path: &'a str,
pub size: i64,
pub lines: i64,
}Expand description
Arguments for record_content. The first path to carry this content keeps
the naming rights: ON CONFLICT DO NOTHING.
Fields§
§session_id: &'a strThe session id value.
agent_id: &'a strThe agent id value.
sha256: &'a strThe sha256 value.
root: &'a strThe root value.
rel_path: &'a strThe rel path value.
size: i64The size value.
lines: i64The lines value.
Auto Trait Implementations§
impl<'a> Freeze for RecordContent<'a>
impl<'a> RefUnwindSafe for RecordContent<'a>
impl<'a> Send for RecordContent<'a>
impl<'a> Sync for RecordContent<'a>
impl<'a> Unpin for RecordContent<'a>
impl<'a> UnsafeUnpin for RecordContent<'a>
impl<'a> UnwindSafe for RecordContent<'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