providers: Use references for field access

This commit is contained in:
2022-05-28 22:24:23 +02:00
parent e04e8ceeeb
commit 4f68a563c6
3 changed files with 15 additions and 15 deletions

View File

@@ -122,10 +122,10 @@ pub trait Provider {
where
Self: Sized;
fn name(&self) -> String;
fn filter(&self) -> Filter;
fn name(&self) -> &str;
fn filter(&self) -> &Filter;
fn secret_token(&self) -> &auth::AuthToken;
fn auth_header_key() -> String;
fn auth_header_key() -> &'static str;
fn get_user_projects(
&self,