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
Fields of Tree
id: ObjectIdFields of Parent
id: ObjectIdA person who authored the content of the commit.
Fields of Author
signature: SignatureRef<'a>A person who committed the authors work to the repository.
Fields of Committer
signature: SignatureRef<'a>Encoding(&'a BStr)Tuple Fields of Encoding
0: &'a BStrMessage(&'a BStr)Tuple Fields of Message
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