Enum git2::ObjectType [−][src]
pub enum ObjectType {
Any,
Commit,
Tree,
Blob,
Tag,
}
Expand description
An enumeration all possible kinds objects may have.
Variants
Any kind of git object
An object which corresponds to a git commit
An object which corresponds to a git tree
An object which corresponds to a git blob
An object which corresponds to a git tag
Implementations
Determine if the given git_object_t is a valid loose object type.
Convert a raw git_object_t to an ObjectType
Convert this kind into its raw representation
Convert a string object type representation to its object type.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnwindSafe for ObjectType
Blanket Implementations
Mutably borrows from an owned value. Read more