pub struct SubModule {
pub absolute_path: Option<String>,
pub commit_id: Option<String>,
pub relative_path: Option<String>,
}Expand description
Returns information about a submodule reference in a repository folder.
Fields§
§absolute_path: Option<String>The fully qualified path to the folder that contains the reference to the submodule.
commit_id: Option<String>The commit ID that contains the reference to the submodule.
relative_path: Option<String>The relative path of the submodule from the folder where the query originated.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SubModule
impl<'de> Deserialize<'de> for SubModule
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
impl StructuralPartialEq for SubModule
Auto Trait Implementations§
impl Freeze for SubModule
impl RefUnwindSafe for SubModule
impl Send for SubModule
impl Sync for SubModule
impl Unpin for SubModule
impl UnwindSafe for SubModule
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