pub struct Patch {
pub title: Option<String>,
pub status: Option<String>,
pub assignees: Option<Vec<String>>,
pub labels: Option<Vec<String>>,
pub milestone: Option<Option<String>>,
}Expand description
A change to an existing issue; None leaves a property alone.
Fields§
§title: Option<String>§status: Option<String>§assignees: Option<Vec<String>>§labels: Option<Vec<String>>§milestone: Option<Option<String>>Some(None) clears it.
Trait Implementations§
impl Eq for Patch
impl StructuralPartialEq for Patch
Auto Trait Implementations§
impl Forget for Patch
impl Freeze for Patch
impl Move for Patch
impl RefUnwindSafe for Patch
impl Send for Patchwhere
RawVecInner: Send,
impl Sync for Patchwhere
RawVecInner: Sync,
impl Unpin for Patch
impl UnsafeUnpin for Patchwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Patchwhere
RawVecInner: UnwindSafe,
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§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.