Struct git_repository::easy::TreeRef[][src]

pub struct TreeRef<'repo, A> {
    pub id: ObjectId,
    pub data: Ref<'repo, [u8]>,
    // some fields omitted
}
Expand description

A decoded tree object with access to its owning repository.

Please note that the limitations described in ObjectRef apply here as well.

Fields

id: ObjectId

The id of the tree

data: Ref<'repo, [u8]>

The fully decoded tree data

Implementations

Trait Implementations

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.