Struct git_cliff_core::config::LinkParser  
source · pub struct LinkParser {
    pub pattern: Regex,
    pub href: String,
    pub text: Option<String>,
}Expand description
Parser for extracting links in commits.
Fields§
§pattern: RegexRegex for finding links in the commit message.
href: StringThe string used to generate the link URL.
text: Option<String>The string used to generate the link text.
Trait Implementations§
source§impl Clone for LinkParser
 
impl Clone for LinkParser
source§fn clone(&self) -> LinkParser
 
fn clone(&self) -> LinkParser
Returns a copy of the value. Read more
1.0.0 · 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 LinkParser
 
impl Debug for LinkParser
source§impl<'de> Deserialize<'de> for LinkParser
 
impl<'de> Deserialize<'de> for LinkParser
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for LinkParser
impl Send for LinkParser
impl Sync for LinkParser
impl Unpin for LinkParser
impl UnwindSafe for LinkParser
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