Skip to main content

UserProfile

Struct UserProfile 

Source
pub struct UserProfile {
Show 24 fields pub login: String, pub archetype: Archetype, pub repos_seen: usize, pub capped: bool, pub original_count: usize, pub fork_count: usize, pub max_stars: u64, pub total_stars: u64, pub top_langs: Vec<String>, pub last_active: String, pub flagship: Option<RepoLite>, pub relevant: Vec<RepoLite>, pub strong_hit: bool, pub hit_score: u32, pub hit_terms: Vec<String>, pub stack_match: bool, pub stack_lang_counts: Vec<(String, usize)>, pub followers: Option<u64>, pub adopter: bool, pub adoption_evidence: Option<String>, pub colocated_repos: Option<usize>, pub contributes_to: Vec<String>, pub scores: Scores, pub repos: Vec<RepoLite>,
}
Expand description

One classified stargazer.

Fields§

§login: String§archetype: Archetype§repos_seen: usize§capped: bool§original_count: usize§fork_count: usize§max_stars: u64§total_stars: u64§top_langs: Vec<String>§last_active: String§flagship: Option<RepoLite>§relevant: Vec<RepoLite>

Repos (non-fork) that matched the relevance keywords, best-first.

§strong_hit: bool

True when the top relevant repo names the topic (score ≥ 2) or has real traction — i.e. worth surfacing, not language-only noise.

§hit_score: u32

Relevance score of the best matching repo (match density).

§hit_terms: Vec<String>

Keywords that matched the best repo (for the legibility annotation).

§stack_match: bool

Uses every language in the seed project’s stack (cheap PyO3-style architectural signal, independent of keywords).

§stack_lang_counts: Vec<(String, usize)>

Per-stack-language count of original repos, in stack_languages order. The depth of stack commitment — a serial Rust+Python builder (the kglite/maturin pattern) ranks above an incidental one. This is the signal that catches keyword-invisible architectural peers.

§followers: Option<u64>

Follower count (reach), if enriched. [item 6]

§adopter: bool

This stargazer’s repo(s) declare the seed package as a dependency — an actual adopter, not just a watcher. [item 2]

§adoption_evidence: Option<String>

Evidence line for the adoption flag (the manifest match).

§colocated_repos: Option<usize>

Count of original repos that combine all stack languages in one repo — the true PyO3/maturin co-location signal. [item 4]

§contributes_to: Vec<String>

Repos this person contributes to but does not own (from public events) — surfaces relevance the owned-repo list can’t see. [item 7]

§scores: Scores

Normalized metric vector (filled by normalize_scores after the whole set is classified + enriched).

§repos: Vec<RepoLite>

All projected repos, kept for drill-down.

Trait Implementations§

Source§

impl Clone for UserProfile

Source§

fn clone(&self) -> UserProfile

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UserProfile

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for UserProfile

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for UserProfile

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more