pub struct UnsignedPatch {
pub header: PatchHeader,
pub dependencies: HashSet<Hash>,
pub changes: Vec<Change<ChangeContext<Hash>>>,
}
Expand description
A patch without its signature suffix.
Fields§
§header: PatchHeader
Header part, containing the metadata.
dependencies: HashSet<Hash>
The dependencies of this patch.
changes: Vec<Change<ChangeContext<Hash>>>
The actual contents of the patch.
Implementations§
Source§impl UnsignedPatch
impl UnsignedPatch
Trait Implementations§
Source§impl Clone for UnsignedPatch
impl Clone for UnsignedPatch
Source§fn clone(&self) -> UnsignedPatch
fn clone(&self) -> UnsignedPatch
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UnsignedPatch
impl Debug for UnsignedPatch
Source§impl<'de> Deserialize<'de> for UnsignedPatch
impl<'de> Deserialize<'de> for UnsignedPatch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UnsignedPatch
impl RefUnwindSafe for UnsignedPatch
impl Send for UnsignedPatch
impl Sync for UnsignedPatch
impl Unpin for UnsignedPatch
impl UnwindSafe for UnsignedPatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more