Struct sit_core::repository::Issue
[−]
[src]
pub struct Issue<'a> { /* fields omitted */ }
An issue residing in a repository
Methods
impl<'a> Issue<'a>
[src]
fn new_record_in<P: AsRef<Path>, S: AsRef<str>, R: Read, I: Iterator<Item = (S, R)>>(
&self,
path: P,
iter: I,
link_parents: bool
) -> Result<<Issue<'a> as IssueTrait>::Record, <Issue<'a> as IssueTrait>::Error>
[src]
&self,
path: P,
iter: I,
link_parents: bool
) -> Result<<Issue<'a> as IssueTrait>::Record, <Issue<'a> as IssueTrait>::Error>
Trait Implementations
impl<'a> Debug for Issue<'a>
[src]
impl<'a> IssueTrait for Issue<'a>
[src]
type Error = Error
Error type used by the implementation
type Record = Record<'a>
Record type used by the implementation
type Records = Vec<Record<'a>>
Type used to list records that can be referenced as a slice of records
type RecordIter = IssueRecordIter<'a>
Iterator over lists of records
fn id(&self) -> &str
[src]
Issue must have an ID, ideally human-readable
fn record_iter(&self) -> Result<Self::RecordIter, Self::Error>
[src]
Iterates through the tree of records
fn new_record<S: AsRef<str>, R: Read, I: Iterator<Item = (S, R)>>(
&self,
iter: I,
link_parents: bool
) -> Result<Self::Record, Self::Error>
[src]
&self,
iter: I,
link_parents: bool
) -> Result<Self::Record, Self::Error>
Creates and returns a new record. Read more