[go: up one dir, main page]

Struct git2::Email

source ·
pub struct Email { /* private fields */ }
Expand description

A structure to represent patch in mbox format for sending via email

Implementations§

Returns a byte slice with stored e-mail patch in. Email could be created by one of the from_* functions.

Create a diff for a commit in mbox format for sending via email.

Create a diff for a commit in mbox format for sending via email. The commit must not be a merge commit.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.