pub struct Patch {
pub id: Oid,
pub author: Author,
pub title: String,
pub state: State,
pub before: Oid,
pub after: Oid,
pub commits: Vec<Oid>,
pub target: Oid,
pub labels: Vec<String>,
pub assignees: Vec<Did>,
pub revisions: Vec<Revision>,
}
Expand description
Metadata about a Radicle patch.
Fields§
§id: Oid
The patch id.
The author of the patch.
title: String
The title of the patch.
state: State
The state of the patch.
before: Oid
The commit preceding the patch.
after: Oid
FIXME.
commits: Vec<Oid>
The list of commits in the patch.
target: Oid
FIXME.
labels: Vec<String>
Labels assigned to the patch.
assignees: Vec<Did>
Who’re in charge of the patch.
revisions: Vec<Revision>
List of revisions of the patch.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Patch
impl<'de> Deserialize<'de> for Patch
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
impl Eq for Patch
impl StructuralPartialEq for Patch
Auto Trait Implementations§
impl Freeze for Patch
impl RefUnwindSafe for Patch
impl Send for Patch
impl Sync for Patch
impl Unpin for Patch
impl UnwindSafe for Patch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.