pub struct CapsuleCommit {
pub repo: String,
pub hash: String,
}Expand description
One public commit referenced by a capsule.
Fields§
§repo: StringRepository name.
hash: StringCommit hash.
Trait Implementations§
Source§impl Clone for CapsuleCommit
impl Clone for CapsuleCommit
Source§fn clone(&self) -> CapsuleCommit
fn clone(&self) -> CapsuleCommit
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 moreSource§impl Debug for CapsuleCommit
impl Debug for CapsuleCommit
impl Eq for CapsuleCommit
Source§impl PartialEq for CapsuleCommit
impl PartialEq for CapsuleCommit
Source§fn eq(&self, other: &CapsuleCommit) -> bool
fn eq(&self, other: &CapsuleCommit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CapsuleCommit
Auto Trait Implementations§
impl Freeze for CapsuleCommit
impl RefUnwindSafe for CapsuleCommit
impl Send for CapsuleCommit
impl Sync for CapsuleCommit
impl Unpin for CapsuleCommit
impl UnsafeUnpin for CapsuleCommit
impl UnwindSafe for CapsuleCommit
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