Struct git_object::commit::message::body::TrailerRef [−][src]
Expand description
A trailer as parsed from the commit message body.
Fields
token: &'a BStr
The name of the trailer, like “Signed-off-by”, up to the separator “: “
value: &'a BStr
The value right after the separator “: “, with leading and trailing whitespace trimmed. Note that multi-line values aren’t currently supported.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for TrailerRef<'a>
impl<'a> Send for TrailerRef<'a>
impl<'a> Sync for TrailerRef<'a>
impl<'a> Unpin for TrailerRef<'a>
impl<'a> UnwindSafe for TrailerRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more