Struct azure_devops_rust_api::git::models::GitTreeDiffEntry
source · pub struct GitTreeDiffEntry {
pub base_object_id: Option<String>,
pub change_type: Option<ChangeType>,
pub object_type: Option<ObjectType>,
pub path: Option<String>,
pub target_object_id: Option<String>,
}
Expand description
Fields§
§base_object_id: Option<String>
SHA1 hash of the object in the base tree, if it exists. Will be null in case of adds.
change_type: Option<ChangeType>
Type of change that affected this entry.
object_type: Option<ObjectType>
Object type of the tree entry. Blob, Tree or Commit(“submodule”)
path: Option<String>
Relative path in base and target trees.
target_object_id: Option<String>
SHA1 hash of the object in the target tree, if it exists. Will be null in case of deletes.
Implementations§
Trait Implementations§
source§impl Clone for GitTreeDiffEntry
impl Clone for GitTreeDiffEntry
source§fn clone(&self) -> GitTreeDiffEntry
fn clone(&self) -> GitTreeDiffEntry
Returns a copy of the value. Read more
1.0.0 · 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 GitTreeDiffEntry
impl Debug for GitTreeDiffEntry
source§impl Default for GitTreeDiffEntry
impl Default for GitTreeDiffEntry
source§fn default() -> GitTreeDiffEntry
fn default() -> GitTreeDiffEntry
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GitTreeDiffEntry
impl<'de> Deserialize<'de> for GitTreeDiffEntry
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
source§impl PartialEq for GitTreeDiffEntry
impl PartialEq for GitTreeDiffEntry
source§fn eq(&self, other: &GitTreeDiffEntry) -> bool
fn eq(&self, other: &GitTreeDiffEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GitTreeDiffEntry
impl Serialize for GitTreeDiffEntry
impl StructuralPartialEq for GitTreeDiffEntry
Auto Trait Implementations§
impl RefUnwindSafe for GitTreeDiffEntry
impl Send for GitTreeDiffEntry
impl Sync for GitTreeDiffEntry
impl Unpin for GitTreeDiffEntry
impl UnwindSafe for GitTreeDiffEntry
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