pub struct SubmoduleRow {
pub id: i64,
pub relative_path: String,
pub name: String,
pub db_path: String,
pub commit_hash: Option<String>,
pub created_at: String,
pub updated_at: String,
}Expand description
A row from the submodules table.
Fields§
§id: i64Auto-incremented primary key.
relative_path: StringMount path relative to repo root (e.g. "vendor/lib").
name: StringHuman-readable submodule name (typically the basename).
db_path: StringAbsolute path to the submodule’s dedicated .db file.
commit_hash: Option<String>Current HEAD commit hash of the submodule (for change detection).
created_at: StringISO-8601 creation timestamp.
updated_at: StringISO-8601 last-update timestamp.
Trait Implementations§
Source§impl Clone for SubmoduleRow
impl Clone for SubmoduleRow
Source§fn clone(&self) -> SubmoduleRow
fn clone(&self) -> SubmoduleRow
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 SubmoduleRow
impl Debug for SubmoduleRow
impl Eq for SubmoduleRow
Source§impl PartialEq for SubmoduleRow
impl PartialEq for SubmoduleRow
Source§fn eq(&self, other: &SubmoduleRow) -> bool
fn eq(&self, other: &SubmoduleRow) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubmoduleRow
Auto Trait Implementations§
impl Freeze for SubmoduleRow
impl RefUnwindSafe for SubmoduleRow
impl Send for SubmoduleRow
impl Sync for SubmoduleRow
impl Unpin for SubmoduleRow
impl UnsafeUnpin for SubmoduleRow
impl UnwindSafe for SubmoduleRow
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.