Struct packfile::codec::GitCommand
source · pub struct GitCommand {
pub command: Bytes,
pub metadata: Vec<Bytes>,
}
Fields§
§command: Bytes
§metadata: Vec<Bytes>
Trait Implementations§
source§impl Debug for GitCommand
impl Debug for GitCommand
source§impl Default for GitCommand
impl Default for GitCommand
source§fn default() -> GitCommand
fn default() -> GitCommand
Returns the “default value” for a type. Read more
source§impl PartialEq<GitCommand> for GitCommand
impl PartialEq<GitCommand> for GitCommand
source§fn eq(&self, other: &GitCommand) -> bool
fn eq(&self, other: &GitCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GitCommand
impl StructuralEq for GitCommand
impl StructuralPartialEq for GitCommand
Auto Trait Implementations§
impl RefUnwindSafe for GitCommand
impl Send for GitCommand
impl Sync for GitCommand
impl Unpin for GitCommand
impl UnwindSafe for GitCommand
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.