Enum git_object::tag::ref_iter::Token [−][src]
pub enum Token<'a> {
Target {
id: ObjectId,
},
TargetKind(Kind),
Name(&'a BStr),
Tagger(Option<SignatureRef<'a>>),
Body {
message: &'a BStr,
pgp_signature: Option<&'a BStr>,
},
}
Expand description
A token returned by the tag iterator.
Variants
Fields of Target
id: ObjectId
TargetKind(Kind)
Tuple Fields of TargetKind
0: Kind
Name(&'a BStr)
Tuple Fields of Name
0: &'a BStr
Tagger(Option<SignatureRef<'a>>)
Tuple Fields of Tagger
0: Option<SignatureRef<'a>>
Implementations
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