Enum libpijul::patch::Patch [] [src]

pub enum Patch {
    Unsigned(UnsignedPatch),
    Signed {
        patch: UnsignedPatch,
        signature: Signature,
    },
}

The definition of a patch.

Variants

Fields of Signed

Methods

impl Patch
[src]

The contents of this patch.

The dependencies of this patch.

The header of this patch.

impl Patch
[src]

Save the patch, computing the hash.

Methods from Deref<Target = PatchHeader>

Trait Implementations

impl Debug for Patch
[src]

Formats the value using the given formatter.

impl Clone for Patch
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Deref for Patch
[src]

The resulting type after dereferencing

The method called to dereference a value

impl DerefMut for Patch
[src]

The method called to mutably dereference a value