pub struct PatchEvent {
pub action: PatchAction,
pub patch: Patch,
}
Expand description
An event related to a Radicle patch object.
Fields§
§action: PatchAction
What action has happened to the patch.
patch: Patch
Metadata about the patch.
Trait Implementations§
Source§impl Clone for PatchEvent
impl Clone for PatchEvent
Source§fn clone(&self) -> PatchEvent
fn clone(&self) -> PatchEvent
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 PatchEvent
impl Debug for PatchEvent
Source§impl<'de> Deserialize<'de> for PatchEvent
impl<'de> Deserialize<'de> for PatchEvent
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 PatchEvent
impl RefUnwindSafe for PatchEvent
impl Send for PatchEvent
impl Sync for PatchEvent
impl Unpin for PatchEvent
impl UnwindSafe for PatchEvent
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