pub struct CreatePullReviewComment {
pub body: Option<String>,
pub new_position: Option<i64>,
pub old_position: Option<i64>,
pub path: Option<String>,
}
Expand description
CreatePullReviewComment : CreatePullReviewComment represent a review comment for creation api
Fields§
§body: Option<String>
§new_position: Option<i64>
if comment to new file line or 0
old_position: Option<i64>
if comment to old file line or 0
path: Option<String>
the tree path
Implementations§
Source§impl CreatePullReviewComment
impl CreatePullReviewComment
Sourcepub fn new() -> CreatePullReviewComment
pub fn new() -> CreatePullReviewComment
CreatePullReviewComment represent a review comment for creation api
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 Default for CreatePullReviewComment
impl Default for CreatePullReviewComment
Source§fn default() -> CreatePullReviewComment
fn default() -> CreatePullReviewComment
Returns the “default value” for a type. Read more
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§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