Enum git_object::commit::ref_iter::Token [−][src]
pub enum Token<'a> {
Tree {
id: ObjectId,
},
Parent {
id: ObjectId,
},
Author {
signature: SignatureRef<'a>,
},
Committer {
signature: SignatureRef<'a>,
},
Encoding(&'a BStr),
ExtraHeader((&'a BStr, Cow<'a, BStr>)),
Message(&'a BStr),
}Expand description
A token returned by the commit iterator.
Variants
Tree
Fields
id: ObjectIdParent
Fields
id: ObjectIdAuthor
Fields
signature: SignatureRef<'a>A person who authored the content of the commit.
Committer
Fields
signature: SignatureRef<'a>A person who committed the authors work to the repository.
Encoding(&'a BStr)
Tuple Fields
0: &'a BStrExtraHeader((&'a BStr, Cow<'a, BStr>))
Message(&'a BStr)
Tuple Fields
0: &'a BStrImplementations
Trait Implementations
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 Token<'a>
impl<'a> UnwindSafe for Token<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more