Struct starry::Db [−][src]
Expand description
the database
Fields
dir: PathBuf
where the DB is on disk
verbose: bool
whether to tell everything when we work
Implementations
read in database the time serie made of the total numbers of stars of a user per date. Records are not sorted by date.
pub fn extract_user_query(
&self,
user_id: &UserId,
repo_names: Vec<&str>
) -> Result<Vec<UserResponseLine>>
pub fn extract_user_query(
&self,
user_id: &UserId,
repo_names: Vec<&str>
) -> Result<Vec<UserResponseLine>>
fetches and return the (unordered) lines, one per time, for the given user query
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more