pub struct GitItem {
pub item_model: ItemModel,
pub commit_id: Option<String>,
pub git_object_type: Option<GitObjectType>,
pub latest_processed_change: Option<GitCommitRef>,
pub object_id: Option<String>,
pub original_object_id: Option<String>,
}Fields§
§item_model: ItemModel§commit_id: Option<String>SHA1 of commit item was fetched at
git_object_type: Option<GitObjectType>Type of object (Commit, Tree, Blob, Tag, …)
latest_processed_change: Option<GitCommitRef>Provides properties that describe a Git commit and associated metadata.
object_id: Option<String>Git object id
original_object_id: Option<String>Git object id
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GitItem
impl<'de> Deserialize<'de> for GitItem
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 GitItem
Auto Trait Implementations§
impl Freeze for GitItem
impl RefUnwindSafe for GitItem
impl Send for GitItem
impl Sync for GitItem
impl Unpin for GitItem
impl UnwindSafe for GitItem
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