Skip to main content

granted_for

Function granted_for 

Source
pub fn granted_for(action: &str, granted: &[String]) -> bool
Expand description

Whether granted (full scope URLs, or bare names) covers action. gmail.metadata can’t search or read bodies, so it covers list_labels alone.