Struct git2::Note
[−]
[src]
pub struct Note<'repo> { /* fields omitted */ }A structure representing a note in git.
Methods
impl<'repo> Note<'repo>[src]
[src]
Get the note author
fn committer(&self) -> Signature[src]
Get the note committer
fn message_bytes(&self) -> &[u8][src]
Get the note message, in bytes.
fn message(&self) -> Option<&str>[src]
Get the note message as a string, returning None if it is not UTF-8.
fn id(&self) -> Oid[src]
Get the note object's id
Trait Implementations
impl<'repo> Debug for Note<'repo>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter.