1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#![recursion_limit = "128"]

#[macro_use]
extern crate log;
pub mod account;
pub mod prelude;

use azure_sdk_storage_core::client::Client;

pub trait Account<C>
where
    C: Client,
{
    #[allow(clippy::needless_lifetimes)]
    fn get_account_information<'a>(
        &'a self,
    ) -> account::requests::GetAccountInformationBuilder<'a, C>;
}

impl<C> Account<C> for C
where
    C: Client,
{
    #[allow(clippy::needless_lifetimes)]
    fn get_account_information<'a>(
        &'a self,
    ) -> account::requests::GetAccountInformationBuilder<'a, C> {
        account::requests::GetAccountInformationBuilder::new(self)
    }
}