Struct azure_devops_rust_api::git::models::GitTreeEntryRef
source · pub struct GitTreeEntryRef {
pub git_object_type: Option<GitObjectType>,
pub mode: Option<String>,
pub object_id: Option<String>,
pub relative_path: Option<String>,
pub size: Option<i64>,
pub url: Option<String>,
}
Expand description
Fields§
§git_object_type: Option<GitObjectType>
Blob or tree
mode: Option<String>
Mode represented as octal string
object_id: Option<String>
SHA1 hash of git object
relative_path: Option<String>
Path relative to parent tree object
size: Option<i64>
Size of content
url: Option<String>
url to retrieve tree or blob
Implementations§
Trait Implementations§
source§impl Clone for GitTreeEntryRef
impl Clone for GitTreeEntryRef
source§fn clone(&self) -> GitTreeEntryRef
fn clone(&self) -> GitTreeEntryRef
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 GitTreeEntryRef
impl Debug for GitTreeEntryRef
source§impl Default for GitTreeEntryRef
impl Default for GitTreeEntryRef
source§fn default() -> GitTreeEntryRef
fn default() -> GitTreeEntryRef
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GitTreeEntryRef
impl<'de> Deserialize<'de> for GitTreeEntryRef
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 GitTreeEntryRef
impl PartialEq for GitTreeEntryRef
source§fn eq(&self, other: &GitTreeEntryRef) -> bool
fn eq(&self, other: &GitTreeEntryRef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GitTreeEntryRef
impl Serialize for GitTreeEntryRef
impl StructuralPartialEq for GitTreeEntryRef
Auto Trait Implementations§
impl Freeze for GitTreeEntryRef
impl RefUnwindSafe for GitTreeEntryRef
impl Send for GitTreeEntryRef
impl Sync for GitTreeEntryRef
impl Unpin for GitTreeEntryRef
impl UnwindSafe for GitTreeEntryRef
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