pub struct AccountsApiClient { /* private fields */ }
Implementations§
Source§impl AccountsApiClient
impl AccountsApiClient
pub fn new(configuration: Rc<Configuration>) -> AccountsApiClient
Trait Implementations§
Source§impl AccountsApi for AccountsApiClient
impl AccountsApi for AccountsApiClient
fn create_account( &self, budget_id: &str, data: PostAccountWrapper, ) -> Result<AccountResponse, Error>
fn get_account_by_id( &self, budget_id: &str, account_id: &str, ) -> Result<AccountResponse, Error>
fn get_accounts( &self, budget_id: &str, last_knowledge_of_server: Option<i64>, ) -> Result<AccountsResponse, Error>
Auto Trait Implementations§
impl Freeze for AccountsApiClient
impl !RefUnwindSafe for AccountsApiClient
impl !Send for AccountsApiClient
impl !Sync for AccountsApiClient
impl Unpin for AccountsApiClient
impl !UnwindSafe for AccountsApiClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more