Skip to content

feat: add method to access gmail_thrid#133

Open
Ericky14 wants to merge 1 commit into
chatmail:mainfrom
playtron-os:main
Open

feat: add method to access gmail_thrid#133
Ericky14 wants to merge 1 commit into
chatmail:mainfrom
playtron-os:main

Conversation

@Ericky14

Copy link
Copy Markdown

No description provided.

Comment thread src/types/fetch.rs
/// for details.
pub fn gmail_thrid(&self) -> Option<&u64> {
if let Response::Fetch(_, attrs) = self.response.parsed() {
attrs

@iequidoo iequidoo May 21, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now i think it's better to add a function like fetch_response_attrs() and let its users filter the attributes on their own, otherwise we're going to have too much Gmail-specific code here, and in the future, for other random providers as well. And we're always late with updating the API for specific providers.

@iequidoo iequidoo requested a review from link2xt May 21, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants