Struct github_rest::methods::CommitCommentBody
source · pub struct CommitCommentBody {
pub body: String,
pub path: Option<String>,
pub position: Option<String>,
pub line: Option<String>,
}
Fields§
§body: String
Required. The contents of the comment.
path: Option<String>
Relative path of the file to comment on.
position: Option<String>
Line index in the diff to comment on.
line: Option<String>
Deprecated. Use position parameter instead. Line number in the file to comment on.
Trait Implementations§
source§impl Clone for CommitCommentBody
impl Clone for CommitCommentBody
source§fn clone(&self) -> CommitCommentBody
fn clone(&self) -> CommitCommentBody
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 CommitCommentBody
impl Debug for CommitCommentBody
source§impl Default for CommitCommentBody
impl Default for CommitCommentBody
source§fn default() -> CommitCommentBody
fn default() -> CommitCommentBody
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CommitCommentBody
impl<'de> Deserialize<'de> for CommitCommentBody
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
Auto Trait Implementations§
impl RefUnwindSafe for CommitCommentBody
impl Send for CommitCommentBody
impl Sync for CommitCommentBody
impl Unpin for CommitCommentBody
impl UnwindSafe for CommitCommentBody
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