pub struct FeedbackInput {
pub thread_comments: ThreadComments,
pub no_lgtm: bool,
pub step_summary: bool,
pub file_annotations: bool,
pub style: String,
pub pr_review: bool,
pub passive_reviews: bool,
pub repo_root: PathBuf,
}Expand description
A struct to contain CLI options that relate to
RestClient.post_feedback().
Fields§
§thread_comments: ThreadCommentsHow thread comments are created or updated.
no_lgtm: boolWhether to omit a “LGTM” type message.
step_summary: boolWhether to post a step summary comment.
file_annotations: boolWhether to post file annotations.
style: StringThe clang-format style to show in file annotations.
pr_review: boolWhether to post a PR review.
passive_reviews: boolShould PR reviews be commentary?
If false, reviews will approve or request changes.
repo_root: PathBufThe root of the repository, used to locate relative file paths in processing.
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 UnsafeUnpin 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