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