Enum git_object::Object [−][src]
Expand description
Mutable objects with each field being separately allocated and changeable.
Mutable objects are Commits, Trees, Blobs and Tags that can be changed and serialized.
They either created using object construction or by deserializing existing objects and converting these into mutable copies for adjustments.
Variants
Tree(Tree)
Tuple Fields
0: TreeBlob(Blob)
Tuple Fields
0: BlobCommit(Commit)
Tuple Fields
0: CommitTag(Tag)
Tuple Fields
0: TagImplementations
Convenient extraction of typed object.
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 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
Serialization
Write the contained object to out in the git serialization format.
Auto Trait Implementations
impl RefUnwindSafe for Object
impl UnwindSafe for Object
Blanket Implementations
Mutably borrows from an owned value. Read more