Struct libpijul_compat::patch::PatchHeader
[−]
[src]
pub struct PatchHeader { pub authors: Vec<String>, pub name: String, pub description: Option<String>, pub timestamp: DateTime<Utc>, }
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>
Methods
impl PatchHeader
[src]
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]
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