Enum github_email::AuthorQuery
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}")
}Variants
Nothing
User(String)
Repo(String, String)
Implementations
Trait Implementations
sourceimpl Debug for AuthorQuery
impl Debug for AuthorQuery
sourceimpl<'de> Deserialize<'de> for AuthorQuery
impl<'de> Deserialize<'de> for AuthorQuery
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 From<&Url> for AuthorQuery
impl From<&Url> for AuthorQuery
sourceimpl From<&str> for AuthorQuery
impl From<&str> for AuthorQuery
sourceimpl Hash for AuthorQuery
impl Hash for AuthorQuery
sourceimpl PartialEq<AuthorQuery> for AuthorQuery
impl PartialEq<AuthorQuery> for AuthorQuery
sourcefn eq(&self, other: &AuthorQuery) -> bool
fn eq(&self, other: &AuthorQuery) -> bool
sourceimpl Serialize for AuthorQuery
impl Serialize for AuthorQuery
impl Eq for AuthorQuery
impl StructuralEq for AuthorQuery
impl StructuralPartialEq for AuthorQuery
Auto Trait Implementations
impl RefUnwindSafe for AuthorQuery
impl Send for AuthorQuery
impl Sync for AuthorQuery
impl Unpin for AuthorQuery
impl UnwindSafe for AuthorQuery
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.