Trait SearchComment

Source
pub trait SearchComment {
    // Required methods
    fn search_comment_position<T: AsRef<str>>(
        &self,
        issue_id: u64,
        target_title: T,
    ) -> Option<u64>;
    fn search_comments<T: AsRef<str>>(
        &self,
        issue_id: u64,
        target_title: T,
    ) -> Option<&Messages>;
    fn search_comments_positions<T: AsRef<str>>(
        &self,
        issue_id: u64,
        target_title: T,
    ) -> Option<Vec<u64>>;
}

Required Methods§

Source

fn search_comment_position<T: AsRef<str>>( &self, issue_id: u64, target_title: T, ) -> Option<u64>

Source

fn search_comments<T: AsRef<str>>( &self, issue_id: u64, target_title: T, ) -> Option<&Messages>

Source

fn search_comments_positions<T: AsRef<str>>( &self, issue_id: u64, target_title: T, ) -> Option<Vec<u64>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§