Enum git_repository::remote::fetch::RefLogMessage
source · pub enum RefLogMessage {
Prefixed {
action: String,
},
Override {
message: BString,
},
}
Available on (crate features
blocking-network-client
or async-network-client
) and (crate features async-network-client
or blocking-network-client
) only.Expand description
The way reflog messages should be composed whenever a ref is written with recent objects from a remote.
Variants
Prefixed
Fields
action: String
The action to use, like fetch
or pull
.
Prefix the log with action
and generate the typical suffix as git
would.
Override
Control the entire message, using message
verbatim.
Auto Trait Implementations
impl RefUnwindSafe for RefLogMessage
impl Send for RefLogMessage
impl Sync for RefLogMessage
impl Unpin for RefLogMessage
impl UnwindSafe for RefLogMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more