Struct github_email::CommitAuthor
source · Expand description
Find Github Email
Find github user email.
API
https://docs.github.com/en/rest/activity/events
Online
Rust
#[tokio::test]
async fn find_email() {
use github_email::{parse_queries, Authors};
let mut authors = Authors::default();
let url = r#"
https://github.com/oovm/
https://github.com/oovm/get-github-email
"#;
for query in parse_queries(url) {
authors.query(query).await.ok();
}
println!("{authors}")
}Fields
name: Stringemail: Stringcount: usizeTrait Implementations
sourceimpl Clone for CommitAuthor
impl Clone for CommitAuthor
sourcefn clone(&self) -> CommitAuthor
fn clone(&self) -> CommitAuthor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for CommitAuthor
impl Debug for CommitAuthor
sourceimpl<'de> Deserialize<'de> for CommitAuthor
impl<'de> Deserialize<'de> for CommitAuthor
sourcefn 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
sourceimpl Serialize for CommitAuthor
impl Serialize for CommitAuthor
Auto Trait Implementations
impl RefUnwindSafe for CommitAuthor
impl Send for CommitAuthor
impl Sync for CommitAuthor
impl Unpin for CommitAuthor
impl UnwindSafe for CommitAuthor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more