pub struct TrailerOpts {
pub only_trailers: bool,
pub unfold: bool,
pub keyonly: bool,
pub valueonly: bool,
pub separator: String,
pub key_value_separator: String,
pub filter_keys: Vec<String>,
}Expand description
Options parsed from a %(trailers:...) pretty placeholder, mirroring Git’s
process_trailer_options in pretty.c / trailer.c.
Fields§
§only_trailers: bool§unfold: bool§keyonly: bool§valueonly: bool§separator: String§key_value_separator: String§filter_keys: Vec<String>Trait Implementations§
Source§impl Clone for TrailerOpts
impl Clone for TrailerOpts
Source§fn clone(&self) -> TrailerOpts
fn clone(&self) -> TrailerOpts
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 TrailerOpts
impl Debug for TrailerOpts
Auto Trait Implementations§
impl Freeze for TrailerOpts
impl RefUnwindSafe for TrailerOpts
impl Send for TrailerOpts
impl Sync for TrailerOpts
impl Unpin for TrailerOpts
impl UnsafeUnpin for TrailerOpts
impl UnwindSafe for TrailerOpts
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