Struct azure_devops_rust_api::git::models::GitTreeRef
source · pub struct GitTreeRef {
pub links: Option<ReferenceLinks>,
pub object_id: Option<String>,
pub size: Option<i64>,
pub tree_entries: Vec<GitTreeEntryRef>,
pub url: Option<String>,
}
Expand description
Fields§
§links: Option<ReferenceLinks>
The class to represent a collection of REST reference links.
object_id: Option<String>
SHA1 hash of git object
size: Option<i64>
Sum of sizes of all children
tree_entries: Vec<GitTreeEntryRef>
Blobs and trees under this tree
url: Option<String>
Url to tree
Implementations§
source§impl GitTreeRef
impl GitTreeRef
Trait Implementations§
source§impl Clone for GitTreeRef
impl Clone for GitTreeRef
source§fn clone(&self) -> GitTreeRef
fn clone(&self) -> GitTreeRef
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 GitTreeRef
impl Debug for GitTreeRef
source§impl Default for GitTreeRef
impl Default for GitTreeRef
source§fn default() -> GitTreeRef
fn default() -> GitTreeRef
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GitTreeRef
impl<'de> Deserialize<'de> for GitTreeRef
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 GitTreeRef
impl PartialEq for GitTreeRef
source§fn eq(&self, other: &GitTreeRef) -> bool
fn eq(&self, other: &GitTreeRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GitTreeRef
impl Serialize for GitTreeRef
impl StructuralPartialEq for GitTreeRef
Auto Trait Implementations§
impl RefUnwindSafe for GitTreeRef
impl Send for GitTreeRef
impl Sync for GitTreeRef
impl Unpin for GitTreeRef
impl UnwindSafe for GitTreeRef
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