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.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

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.