pub enum PullRequestReviewCommentSubjectType {
Line,
File,
}
Expand description
The level at which the comment is targeted, can be a diff line or a file.
JSON schema
{
"description": "The level at which the comment is targeted, can be a diff line or a file.",
"type": "string",
"enum": [
"line",
"file"
]
}
Variants§
Trait Implementations§
Source§impl Clone for PullRequestReviewCommentSubjectType
impl Clone for PullRequestReviewCommentSubjectType
Source§fn clone(&self) -> PullRequestReviewCommentSubjectType
fn clone(&self) -> PullRequestReviewCommentSubjectType
Returns a duplicate 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<'de> Deserialize<'de> for PullRequestReviewCommentSubjectType
impl<'de> Deserialize<'de> for PullRequestReviewCommentSubjectType
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 From<&PullRequestReviewCommentSubjectType> for PullRequestReviewCommentSubjectType
impl From<&PullRequestReviewCommentSubjectType> for PullRequestReviewCommentSubjectType
Source§fn from(value: &PullRequestReviewCommentSubjectType) -> Self
fn from(value: &PullRequestReviewCommentSubjectType) -> Self
Converts to this type from the input type.
Source§impl Ord for PullRequestReviewCommentSubjectType
impl Ord for PullRequestReviewCommentSubjectType
Source§fn cmp(&self, other: &PullRequestReviewCommentSubjectType) -> Ordering
fn cmp(&self, other: &PullRequestReviewCommentSubjectType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PullRequestReviewCommentSubjectType
impl PartialEq for PullRequestReviewCommentSubjectType
Source§fn eq(&self, other: &PullRequestReviewCommentSubjectType) -> bool
fn eq(&self, other: &PullRequestReviewCommentSubjectType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for PullRequestReviewCommentSubjectType
impl PartialOrd for PullRequestReviewCommentSubjectType
Source§impl TryFrom<&str> for PullRequestReviewCommentSubjectType
impl TryFrom<&str> for PullRequestReviewCommentSubjectType
impl Copy for PullRequestReviewCommentSubjectType
impl Eq for PullRequestReviewCommentSubjectType
impl StructuralPartialEq for PullRequestReviewCommentSubjectType
Auto Trait Implementations§
impl Freeze for PullRequestReviewCommentSubjectType
impl RefUnwindSafe for PullRequestReviewCommentSubjectType
impl Send for PullRequestReviewCommentSubjectType
impl Sync for PullRequestReviewCommentSubjectType
impl Unpin for PullRequestReviewCommentSubjectType
impl UnwindSafe for PullRequestReviewCommentSubjectType
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