[][src]Struct git2::Blob

pub struct Blob<'repo> { /* fields omitted */ }

A structure to represent a git blob

Methods

impl<'repo> Blob<'repo>
[src]

Get the id (SHA1) of a repository blob

Determine if the blob content is most certainly binary or not.

Get the content of this blob.

Casts this Blob to be usable as an Object

Consumes Blob to be returned as an Object

Trait Implementations

impl<'repo> Clone for Blob<'repo>
[src]

Performs copy-assignment from source. Read more

impl<'repo> Drop for Blob<'repo>
[src]

impl<'repo> Debug for Blob<'repo>
[src]

Auto Trait Implementations

impl<'repo> !Send for Blob<'repo>

impl<'repo> !Sync for Blob<'repo>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]