pub struct ScreenConfig {
pub max_stargazers: Option<usize>,
pub max_repos_per_user: usize,
pub relevance_keywords: Vec<String>,
pub stack_languages: Vec<String>,
}Expand description
Tuning knobs for a screen. Defaults are chosen for the kglite-scale case (dozens-to-low-hundreds of stargazers).
Fields§
§max_stargazers: Option<usize>Max stargazers to screen (most-recent first). None = all.
max_repos_per_user: usizeMax owned repos to pull per user (sorted by most-recently pushed).
relevance_keywords: Vec<String>Lowercase keywords for the relevance gate, matched against repo name / description / topics / language.
stack_languages: Vec<String>Languages that define the seed project’s stack (e.g. Rust + Python for a PyO3 lib). Stargazers who use all of them are flagged as a “stack match” — an architectural signal that needs no keywords and catches relevant devs whose repo names don’t contain the keywords.
Trait Implementations§
Source§impl Clone for ScreenConfig
impl Clone for ScreenConfig
Source§fn clone(&self) -> ScreenConfig
fn clone(&self) -> ScreenConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScreenConfig
impl Debug for ScreenConfig
Source§impl Default for ScreenConfig
impl Default for ScreenConfig
Source§impl<'de> Deserialize<'de> for ScreenConfig
impl<'de> Deserialize<'de> for ScreenConfig
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
Auto Trait Implementations§
impl Freeze for ScreenConfig
impl RefUnwindSafe for ScreenConfig
impl Send for ScreenConfig
impl Sync for ScreenConfig
impl Unpin for ScreenConfig
impl UnsafeUnpin for ScreenConfig
impl UnwindSafe for ScreenConfig
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