pub struct EditPr<'a> {
pub title: Option<&'a str>,
pub body: Option<&'a str>,
pub labels: Option<&'a str>,
pub assignees: Option<&'a str>,
pub testers: Option<&'a str>,
pub milestone_number: Option<i64>,
}Expand description
Fields for pr edit. All optional; only Some fields are sent, so unset
values are never blanked. labels/assignees/testers arrive pre-joined
(comma-separated) by the handler. Param names per the v5 swagger, except
assignees/testers which the PATCH swagger omits — names follow the PR
create endpoint; live round-trip is unverified (no mutations in tests).
Fields§
§title: Option<&'a str>§body: Option<&'a str>§labels: Option<&'a str>§assignees: Option<&'a str>§testers: Option<&'a str>§milestone_number: Option<i64>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for EditPr<'a>
impl<'a> RefUnwindSafe for EditPr<'a>
impl<'a> Send for EditPr<'a>
impl<'a> Sync for EditPr<'a>
impl<'a> Unpin for EditPr<'a>
impl<'a> UnsafeUnpin for EditPr<'a>
impl<'a> UnwindSafe for EditPr<'a>
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