Struct forgejo_api::structs::EditPullRequestOption
source · pub struct EditPullRequestOption {
pub allow_maintainer_edit: Option<bool>,
pub assignee: Option<String>,
pub assignees: Option<Vec<String>>,
pub base: Option<String>,
pub body: Option<String>,
pub due_date: Option<OffsetDateTime>,
pub labels: Option<Vec<u64>>,
pub milestone: Option<u64>,
pub state: Option<String>,
pub title: Option<String>,
pub unset_due_date: Option<bool>,
}Expand description
EditPullRequestOption options when modify pull request
Fields§
§allow_maintainer_edit: Option<bool>§assignee: Option<String>§assignees: Option<Vec<String>>§base: Option<String>§body: Option<String>§due_date: Option<OffsetDateTime>§labels: Option<Vec<u64>>§milestone: Option<u64>§state: Option<String>§title: Option<String>§unset_due_date: Option<bool>Trait Implementations§
source§impl Clone for EditPullRequestOption
impl Clone for EditPullRequestOption
source§fn clone(&self) -> EditPullRequestOption
fn clone(&self) -> EditPullRequestOption
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 EditPullRequestOption
impl Debug for EditPullRequestOption
source§impl<'de> Deserialize<'de> for EditPullRequestOption
impl<'de> Deserialize<'de> for EditPullRequestOption
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
source§impl PartialEq for EditPullRequestOption
impl PartialEq for EditPullRequestOption
source§fn eq(&self, other: &EditPullRequestOption) -> bool
fn eq(&self, other: &EditPullRequestOption) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EditPullRequestOption
impl Serialize for EditPullRequestOption
impl StructuralPartialEq for EditPullRequestOption
Auto Trait Implementations§
impl Freeze for EditPullRequestOption
impl RefUnwindSafe for EditPullRequestOption
impl Send for EditPullRequestOption
impl Sync for EditPullRequestOption
impl Unpin for EditPullRequestOption
impl UnwindSafe for EditPullRequestOption
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