pub struct UpdateStrategy {
pub kind: UpdateType,
pub command: Option<String>,
}Expand description
struct submodule_update_strategy (git submodule.h).
Fields§
§kind: UpdateType§command: Option<String>Only populated when kind == Command: the command string (the part
after the leading !).
Trait Implementations§
Source§impl Clone for UpdateStrategy
impl Clone for UpdateStrategy
Source§fn clone(&self) -> UpdateStrategy
fn clone(&self) -> UpdateStrategy
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 UpdateStrategy
impl Debug for UpdateStrategy
Source§impl Default for UpdateStrategy
impl Default for UpdateStrategy
Source§fn default() -> UpdateStrategy
fn default() -> UpdateStrategy
Returns the “default value” for a type. Read more
impl Eq for UpdateStrategy
Source§impl PartialEq for UpdateStrategy
impl PartialEq for UpdateStrategy
impl StructuralPartialEq for UpdateStrategy
Auto Trait Implementations§
impl Freeze for UpdateStrategy
impl RefUnwindSafe for UpdateStrategy
impl Send for UpdateStrategy
impl Sync for UpdateStrategy
impl Unpin for UpdateStrategy
impl UnsafeUnpin for UpdateStrategy
impl UnwindSafe for UpdateStrategy
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