Struct forgejo_api::structs::CreatePullReviewOptions
source · pub struct CreatePullReviewOptions {
pub body: Option<String>,
pub comments: Option<Vec<CreatePullReviewComment>>,
pub commit_id: Option<String>,
pub event: Option<String>,
}Expand description
CreatePullReviewOptions are options to create a pull review
Fields§
§body: Option<String>§comments: Option<Vec<CreatePullReviewComment>>§commit_id: Option<String>§event: Option<String>Trait Implementations§
source§impl Clone for CreatePullReviewOptions
impl Clone for CreatePullReviewOptions
source§fn clone(&self) -> CreatePullReviewOptions
fn clone(&self) -> CreatePullReviewOptions
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 CreatePullReviewOptions
impl Debug for CreatePullReviewOptions
source§impl<'de> Deserialize<'de> for CreatePullReviewOptions
impl<'de> Deserialize<'de> for CreatePullReviewOptions
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 CreatePullReviewOptions
impl PartialEq for CreatePullReviewOptions
source§fn eq(&self, other: &CreatePullReviewOptions) -> bool
fn eq(&self, other: &CreatePullReviewOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CreatePullReviewOptions
impl Serialize for CreatePullReviewOptions
impl StructuralPartialEq for CreatePullReviewOptions
Auto Trait Implementations§
impl Freeze for CreatePullReviewOptions
impl RefUnwindSafe for CreatePullReviewOptions
impl Send for CreatePullReviewOptions
impl Sync for CreatePullReviewOptions
impl Unpin for CreatePullReviewOptions
impl UnwindSafe for CreatePullReviewOptions
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