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>,
}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 duplicate 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§impl Serialize for GitTreeRef
impl Serialize for GitTreeRef
impl StructuralPartialEq for GitTreeRef
Auto Trait Implementations§
impl Freeze for GitTreeRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more