pub struct OpenReq {
pub base: Option<String>,
pub body: Option<String>,
pub head: Option<String>,
pub name: Option<String>,
pub title: Option<String>,
}Fields§
§base: Option<String>Base is the branch the work is proposed INTO, by short name. Defaults to the repo’s default branch, which is where a proposal goes when nobody says otherwise.
body: Option<String>Body is the longer description. Optional.
head: Option<String>Head is the branch holding the work, by short name (agent/fix-503). Required, and must already exist.
name: Option<String>Name is the repo the proposal belongs to, from the :name path segment.
title: Option<String>Title is the one-line summary of what is being proposed. Required.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpenReq
impl<'de> Deserialize<'de> for OpenReq
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 StructuralPartialEq for OpenReq
Auto Trait Implementations§
impl Freeze for OpenReq
impl RefUnwindSafe for OpenReq
impl Send for OpenReq
impl Sync for OpenReq
impl Unpin for OpenReq
impl UnsafeUnpin for OpenReq
impl UnwindSafe for OpenReq
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