pub struct SubmoduleInput {
pub relative_path: String,
pub name: String,
pub db_path: String,
pub commit_hash: Option<String>,
}Expand description
Input for inserting or updating a submodule record.
Does not include id, created_at, or updated_at (managed by DB).
Fields§
§relative_path: StringMount path relative to repo root.
name: StringHuman-readable submodule name.
db_path: StringAbsolute path to the submodule’s dedicated .db file.
commit_hash: Option<String>Current HEAD commit hash.
Trait Implementations§
Source§impl Clone for SubmoduleInput
impl Clone for SubmoduleInput
Source§fn clone(&self) -> SubmoduleInput
fn clone(&self) -> SubmoduleInput
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 moreAuto Trait Implementations§
impl Freeze for SubmoduleInput
impl RefUnwindSafe for SubmoduleInput
impl Send for SubmoduleInput
impl Sync for SubmoduleInput
impl Unpin for SubmoduleInput
impl UnsafeUnpin for SubmoduleInput
impl UnwindSafe for SubmoduleInput
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