pub enum RepoNamedItemV0 {
Branch(BranchId),
Commit(ObjectRef),
}
Variants§
Trait Implementations§
Source§impl Clone for RepoNamedItemV0
impl Clone for RepoNamedItemV0
Source§fn clone(&self) -> RepoNamedItemV0
fn clone(&self) -> RepoNamedItemV0
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RepoNamedItemV0
impl Debug for RepoNamedItemV0
Source§impl<'de> Deserialize<'de> for RepoNamedItemV0
impl<'de> Deserialize<'de> for RepoNamedItemV0
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 RepoNamedItemV0
impl PartialEq for RepoNamedItemV0
Source§impl Serialize for RepoNamedItemV0
impl Serialize for RepoNamedItemV0
impl Eq for RepoNamedItemV0
impl StructuralPartialEq for RepoNamedItemV0
Auto Trait Implementations§
impl Freeze for RepoNamedItemV0
impl RefUnwindSafe for RepoNamedItemV0
impl Send for RepoNamedItemV0
impl Sync for RepoNamedItemV0
impl Unpin for RepoNamedItemV0
impl UnwindSafe for RepoNamedItemV0
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