Struct libpijul::patch::PatchHeader
[−]
[src]
pub struct PatchHeader { pub authors: Vec<String>, pub name: String, pub description: Option<String>, pub timestamp: DateTime<Utc>, pub flag: PatchFlags, }
The header of a patch contains all the metadata about a patch (but not the actual contents of a patch).
Fields
name: String
description: Option<String>
timestamp: DateTime<Utc>
flag: PatchFlags
Methods
impl PatchHeader
[src]
pub fn from_reader_nochanges<R: Read>(r: R) -> Result<PatchHeader>
[src]
Reads everything in this patch, but the actual contents.
Trait Implementations
impl Debug for PatchHeader
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for PatchHeader
[src]
fn clone(&self) -> PatchHeader
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more