Struct libpijul::patch::Patch
[−]
[src]
pub struct Patch { pub authors: Vec<String>, pub name: String, pub description: Option<String>, pub timestamp: DateTime<UTC>, pub dependencies: HashSet<Hash>, pub changes: Vec<Change>, }
Fields
name: String
description: Option<String>
timestamp: DateTime<UTC>
dependencies: HashSet<Hash>
changes: Vec<Change>
Methods
impl Patch
[src]
fn empty() -> Patch
fn size_upper_bound(&self) -> usize
fn from_reader_compressed<R: BufRead>(r: &mut R)
-> Result<(Hash, Vec<u8>, Patch), Error>
-> Result<(Hash, Vec<u8>, Patch), Error>
fn to_writer(&self, w: &mut Write) -> Result<(), Error>
fn save<P: AsRef<Path>>(&self, dir: P) -> Result<Hash, Error>
Trait Implementations
impl Debug for Patch
[src]
impl Encodable for Patch
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.