pub struct ReceivePackCommandStatusV2Options {
pub refname: Option<String>,
pub old_oid: Option<ObjectId>,
pub new_oid: Option<ObjectId>,
pub forced_update: bool,
}Fields§
§refname: Option<String>§old_oid: Option<ObjectId>§new_oid: Option<ObjectId>§forced_update: boolTrait Implementations§
Source§impl Clone for ReceivePackCommandStatusV2Options
impl Clone for ReceivePackCommandStatusV2Options
Source§fn clone(&self) -> ReceivePackCommandStatusV2Options
fn clone(&self) -> ReceivePackCommandStatusV2Options
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 Default for ReceivePackCommandStatusV2Options
impl Default for ReceivePackCommandStatusV2Options
Source§fn default() -> ReceivePackCommandStatusV2Options
fn default() -> ReceivePackCommandStatusV2Options
Returns the “default value” for a type. Read more
impl Eq for ReceivePackCommandStatusV2Options
Source§impl PartialEq for ReceivePackCommandStatusV2Options
impl PartialEq for ReceivePackCommandStatusV2Options
Source§fn eq(&self, other: &ReceivePackCommandStatusV2Options) -> bool
fn eq(&self, other: &ReceivePackCommandStatusV2Options) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReceivePackCommandStatusV2Options
Auto Trait Implementations§
impl Freeze for ReceivePackCommandStatusV2Options
impl RefUnwindSafe for ReceivePackCommandStatusV2Options
impl Send for ReceivePackCommandStatusV2Options
impl Sync for ReceivePackCommandStatusV2Options
impl Unpin for ReceivePackCommandStatusV2Options
impl UnsafeUnpin for ReceivePackCommandStatusV2Options
impl UnwindSafe for ReceivePackCommandStatusV2Options
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