pub struct CategoriesApiClient { /* private fields */ }
Implementations§
Source§impl CategoriesApiClient
impl CategoriesApiClient
pub fn new(configuration: Rc<Configuration>) -> CategoriesApiClient
Trait Implementations§
Source§impl CategoriesApi for CategoriesApiClient
impl CategoriesApi for CategoriesApiClient
fn get_categories( &self, budget_id: &str, last_knowledge_of_server: Option<i64>, ) -> Result<CategoriesResponse, Error>
fn get_category_by_id( &self, budget_id: &str, category_id: &str, ) -> Result<CategoryResponse, Error>
fn get_month_category_by_id( &self, budget_id: &str, month: String, category_id: &str, ) -> Result<CategoryResponse, Error>
fn update_category( &self, budget_id: &str, category_id: &str, data: PatchCategoryWrapper, ) -> Result<SaveCategoryResponse, Error>
fn update_month_category( &self, budget_id: &str, month: String, category_id: &str, data: PatchMonthCategoryWrapper, ) -> Result<SaveCategoryResponse, Error>
Auto Trait Implementations§
impl Freeze for CategoriesApiClient
impl !RefUnwindSafe for CategoriesApiClient
impl !Send for CategoriesApiClient
impl !Sync for CategoriesApiClient
impl Unpin for CategoriesApiClient
impl !UnwindSafe for CategoriesApiClient
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