pub enum ObjectFormat {
Sha1,
Sha256,
}Expand description
Git object identifier format for the repository.
Variants§
Trait Implementations§
Source§impl Clone for ObjectFormat
impl Clone for ObjectFormat
Source§fn clone(&self) -> ObjectFormat
fn clone(&self) -> ObjectFormat
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 ObjectFormat
Source§impl Debug for ObjectFormat
impl Debug for ObjectFormat
Source§impl<'de> Deserialize<'de> for ObjectFormat
impl<'de> Deserialize<'de> for ObjectFormat
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
impl Eq for ObjectFormat
Source§impl PartialEq for ObjectFormat
impl PartialEq for ObjectFormat
Source§fn eq(&self, other: &ObjectFormat) -> bool
fn eq(&self, other: &ObjectFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ObjectFormat
impl Serialize for ObjectFormat
impl StructuralPartialEq for ObjectFormat
Auto Trait Implementations§
impl Freeze for ObjectFormat
impl RefUnwindSafe for ObjectFormat
impl Send for ObjectFormat
impl Sync for ObjectFormat
impl Unpin for ObjectFormat
impl UnsafeUnpin for ObjectFormat
impl UnwindSafe for ObjectFormat
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