Struct forgejo_api::structs::CreatePullReviewComment
source · pub struct CreatePullReviewComment {
pub body: Option<String>,
pub new_position: Option<u64>,
pub old_position: Option<u64>,
pub path: Option<String>,
}Expand description
CreatePullReviewComment represent a review comment for creation api
Fields§
§body: Option<String>§new_position: Option<u64>if comment to new file line or 0
old_position: Option<u64>if comment to old file line or 0
path: Option<String>the tree path
Trait Implementations§
source§impl Clone for CreatePullReviewComment
impl Clone for CreatePullReviewComment
source§fn clone(&self) -> CreatePullReviewComment
fn clone(&self) -> CreatePullReviewComment
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 CreatePullReviewComment
impl Debug for CreatePullReviewComment
source§impl<'de> Deserialize<'de> for CreatePullReviewComment
impl<'de> Deserialize<'de> for CreatePullReviewComment
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 CreatePullReviewComment
impl PartialEq for CreatePullReviewComment
source§fn eq(&self, other: &CreatePullReviewComment) -> bool
fn eq(&self, other: &CreatePullReviewComment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CreatePullReviewComment
impl Serialize for CreatePullReviewComment
impl StructuralPartialEq for CreatePullReviewComment
Auto Trait Implementations§
impl Freeze for CreatePullReviewComment
impl RefUnwindSafe for CreatePullReviewComment
impl Send for CreatePullReviewComment
impl Sync for CreatePullReviewComment
impl Unpin for CreatePullReviewComment
impl UnwindSafe for CreatePullReviewComment
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)