pub struct GithubIngestor {
pub user: String,
pub since: NaiveDate,
pub until: NaiveDate,
pub mode: String,
pub include_reviews: bool,
pub fetch_details: bool,
pub throttle_ms: u64,
pub token: Option<String>,
pub api_base: String,
pub cache: Option<ApiCache>,
}Fields§
§user: String§since: NaiveDate§until: NaiveDate§mode: String“merged” or “created”
include_reviews: bool§fetch_details: bool§throttle_ms: u64§token: Option<String>§api_base: StringGitHub API base URL (for GHES). Default: https://api.github.com
cache: Option<ApiCache>Optional cache for API responses
Implementations§
Trait Implementations§
Source§impl Debug for GithubIngestor
impl Debug for GithubIngestor
Source§impl Ingestor for GithubIngestor
impl Ingestor for GithubIngestor
fn ingest(&self) -> Result<IngestOutput>
Auto Trait Implementations§
impl !Freeze for GithubIngestor
impl !RefUnwindSafe for GithubIngestor
impl Send for GithubIngestor
impl !Sync for GithubIngestor
impl Unpin for GithubIngestor
impl UnsafeUnpin for GithubIngestor
impl !UnwindSafe for GithubIngestor
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