pub struct RestClient { /* private fields */ }Implementations§
Source§impl RestClient
impl RestClient
pub fn new() -> Result<Self, ClientError>
pub fn is_pr(&self) -> bool
pub async fn get_list_of_changed_files( &self, file_filter: &FileFilter, lines_changed_only: &LinesChangedOnly, base_diff: &Option<String>, ignore_index: bool, ) -> Result<Vec<FileObj>, ClientError>
pub fn start_log_group(&self, name: &str)
pub fn end_log_group(&self, name: &str)
pub async fn post_feedback( &mut self, files: &[Arc<Mutex<FileObj>>], feedback_inputs: FeedbackInput, clang_versions: ClangVersions, ) -> Result<u64, ClientError>
Sourcepub fn make_annotations(
files: &[Arc<Mutex<FileObj>>],
style: &str,
) -> Result<Vec<FileAnnotation>, ClientError>
pub fn make_annotations( files: &[Arc<Mutex<FileObj>>], style: &str, ) -> Result<Vec<FileAnnotation>, ClientError>
Post file annotations.
Auto Trait Implementations§
impl !RefUnwindSafe for RestClient
impl !UnwindSafe for RestClient
impl Freeze for RestClient
impl Send for RestClient
impl Sync for RestClient
impl Unpin for RestClient
impl UnsafeUnpin for RestClient
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