pub struct GitCommitTree {
pub sha: String,
pub url: String,
}
Fields§
§sha: String
SHA for the commit
url: String
Implementations§
Source§impl GitCommitTree
impl GitCommitTree
pub fn new(sha: String, url: String) -> GitCommitTree
Trait Implementations§
Source§impl Clone for GitCommitTree
impl Clone for GitCommitTree
Source§fn clone(&self) -> GitCommitTree
fn clone(&self) -> GitCommitTree
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 GitCommitTree
impl Debug for GitCommitTree
Source§impl Default for GitCommitTree
impl Default for GitCommitTree
Source§fn default() -> GitCommitTree
fn default() -> GitCommitTree
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitCommitTree
impl<'de> Deserialize<'de> for GitCommitTree
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 GitCommitTree
impl PartialEq for GitCommitTree
Source§impl Serialize for GitCommitTree
impl Serialize for GitCommitTree
impl StructuralPartialEq for GitCommitTree
Auto Trait Implementations§
impl Freeze for GitCommitTree
impl RefUnwindSafe for GitCommitTree
impl Send for GitCommitTree
impl Sync for GitCommitTree
impl Unpin for GitCommitTree
impl UnwindSafe for GitCommitTree
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