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