pub struct get_transactions_count;Expand description
Get the Count of Transactions
This endpoint returns the total count of transactions present in the database. The response is a JSON object containing the count.
Responses
200 OK: Successfully retrieved the count of transactions. The response body will be a JSON object with the structure{ "count": i64 }, wherei64is the total number of transactions.500 Internal Server Error: Indicates that an error occurred on the server while processing the request. The response body will contain a JSON object with an error message.
Example
{
"count": 123
}
Trait Implementations§
source§impl HttpServiceFactory for get_transactions_count
impl HttpServiceFactory for get_transactions_count
fn register(self, __config: &mut AppService)
Auto Trait Implementations§
impl RefUnwindSafe for get_transactions_count
impl Send for get_transactions_count
impl Sync for get_transactions_count
impl Unpin for get_transactions_count
impl UnwindSafe for get_transactions_count
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