[−][src]Trait cranky::Record
Result or judgement record.
Required methods
fn parse_record(
record_line: &str,
record_factory: Option<&mut StringIdFactory>
) -> Result<Self, Error>
record_line: &str,
record_factory: Option<&mut StringIdFactory>
) -> Result<Self, Error>
Parses record from a line of text.
record_factory
is optionally used for reusing string-based IDs;
in case of its absense, all strings will be copied to the record.
Implementors
impl Record for JudgementRecord
[src]
fn parse_record(
record_line: &str,
id_factory: Option<&mut StringIdFactory>
) -> Result<Self, Error>
[src]
record_line: &str,
id_factory: Option<&mut StringIdFactory>
) -> Result<Self, Error>
impl Record for ResultRecord
[src]
fn parse_record(
record_line: &str,
id_factory: Option<&mut StringIdFactory>
) -> Result<Self, Error>
[src]
record_line: &str,
id_factory: Option<&mut StringIdFactory>
) -> Result<Self, Error>