Struct radicle_git_ext::commit::trailers::Trailer
source · pub struct Trailer<'a> {
pub token: Token<'a>,
pub value: Cow<'a, str>,
}
Expand description
A trailer is a key/value pair found in the last paragraph of a Git commit message, not including any patches or conflicts that may be present.
Fields§
§token: Token<'a>
§value: Cow<'a, str>
Implementations§
Trait Implementations§
source§impl<'a> From<&'a OwnedTrailer> for Trailer<'a>
impl<'a> From<&'a OwnedTrailer> for Trailer<'a>
source§fn from(t: &'a OwnedTrailer) -> Self
fn from(t: &'a OwnedTrailer) -> Self
Converts to this type from the input type.