pub struct GitEndpoint {
pub kind: u8,
pub oid: GitOid,
}Expand description
One side of a GIT_DIFF/GIT_PATCH: [kind:1][oid:32]. The oid is
meaningful only for COMMIT, TREE, and MERGE_BASE kinds.
Fields§
§kind: u8§oid: GitOidTrait Implementations§
Source§impl Clone for GitEndpoint
impl Clone for GitEndpoint
Source§fn clone(&self) -> GitEndpoint
fn clone(&self) -> GitEndpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GitEndpoint
Source§impl Debug for GitEndpoint
impl Debug for GitEndpoint
impl Eq for GitEndpoint
Source§impl PartialEq for GitEndpoint
impl PartialEq for GitEndpoint
impl StructuralPartialEq for GitEndpoint
Auto Trait Implementations§
impl Freeze for GitEndpoint
impl RefUnwindSafe for GitEndpoint
impl Send for GitEndpoint
impl Sync for GitEndpoint
impl Unpin for GitEndpoint
impl UnsafeUnpin for GitEndpoint
impl UnwindSafe for GitEndpoint
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