pub struct FeedbackInput {
pub thread_comments: ThreadComments,
pub no_lgtm: bool,
pub step_summary: bool,
pub file_annotations: bool,
pub style: String,
pub tidy_review: bool,
pub format_review: bool,
pub passive_reviews: bool,
}
Expand description
A struct to contain CLI options that relate to
ResApiClient.post_feedback()
.
Fields§
§thread_comments: ThreadComments
§no_lgtm: bool
§step_summary: bool
§file_annotations: bool
§style: String
§tidy_review: bool
§format_review: bool
§passive_reviews: bool
Trait Implementations§
Source§impl Default for FeedbackInput
impl Default for FeedbackInput
Source§fn default() -> Self
fn default() -> Self
Construct a FeedbackInput
instance with default values.
Auto Trait Implementations§
impl Freeze for FeedbackInput
impl RefUnwindSafe for FeedbackInput
impl Send for FeedbackInput
impl Sync for FeedbackInput
impl Unpin for FeedbackInput
impl UnwindSafe for FeedbackInput
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more