Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KodrAus/rust-web-app
/ types & classes
Types & classes
86 in github.com/KodrAus/rust-web-app
⨍
Functions
230
◇
Types & classes
86
↓ 6 callers
Class
Version
A version. The version provides optimistic concurrency. Versions have a phantom generic type so you can't compare `Version<T>` to `Version<U>`. */
src/domain/infra/version.rs:36
↓ 5 callers
Class
Id
An id. Ids have a phantom generic parameter so you can't compare an `Id<T>` to an `Id<U>`. It means you also can't use an `Id<T>` in place of an `Id<
src/domain/infra/id.rs:40
↓ 5 callers
Class
TransactionId
src/store/transaction.rs:22
↓ 2 callers
Enum
Error
src/api/infra/error.rs:27
↓ 2 callers
Class
Id
src/store/value.rs:25
↓ 2 callers
Class
Register
src/domain/infra/resolver.rs:81
↓ 2 callers
Class
Version
src/store/value.rs:54
↓ 1 callers
Class
InMemoryStore
src/domain/customers/model/store.rs:18
↓ 1 callers
Class
InMemoryStore
A test in-memory product store. */
src/domain/products/model/store.rs:38
↓ 1 callers
Class
NextId
Generate a new `Id` randomly. */
src/domain/infra/id.rs:151
↓ 1 callers
Class
Price
A produce price. The price must be greater than zero. */
src/domain/products/model/mod.rs:55
↓ 1 callers
Class
Quantity
An order item quantity. Quantities must be greater than zero. */
src/domain/orders/model/mod.rs:42
↓ 1 callers
Class
Title
A product title. The title must not be empty. */
src/domain/products/model/mod.rs:28
↓ 1 callers
Class
USD
src/domain/infra/currency.rs:25
Class
ActiveTransaction
src/domain/infra/transaction/active.rs:18
Class
AddOrUpdateProduct
src/domain/orders/commands/add_or_update_product.rs:13
Class
AddValue
src/domain/infra/func.rs:88
Class
App
The app. */
src/domain/infra/resolver.rs:17
Class
AppRequest
src/api/infra/request.rs:22
Class
CachedSpan
An internal type used to store a span on the request
src/api/infra/span.rs:55
Interface
Command
src/domain/infra/func.rs:11
Interface
CommandArgs
src/domain/infra/func.rs:7
Class
Create
src/api/orders.rs:54
Class
Create
src/api/products.rs:46
Class
CreateCustomer
src/domain/customers/commands/create_customer.rs:12
Class
CreateOrder
src/domain/orders/commands/create_order.rs:13
Class
CreateProduct
src/domain/products/commands/create_product.rs:12
Enum
Currency
src/domain/infra/currency.rs:9
Class
Customer
A customer. */
src/domain/customers/model/mod.rs:26
Class
CustomerBuilder
src/domain/customers/model/test_data.rs:7
Class
CustomerData
src/domain/customers/model/mod.rs:19
Class
CustomerOrder
src/domain/customers/queries/get_customer_with_orders.rs:25
Interface
CustomerStore
src/domain/customers/model/store.rs:13
Class
CustomerWithOrders
src/domain/customers/queries/get_customer_with_orders.rs:18
Class
CustomersResolver
src/domain/customers/resolver.rs:20
Interface
Entity
src/domain/infra/entity.rs:10
Class
Error
src/domain/error.rs:17
Enum
ErrorKind
src/domain/error.rs:32
Class
Get
src/api/products.rs:17
Class
GetCustomer
src/domain/customers/queries/get_customer.rs:11
Class
GetCustomerWithOrders
src/domain/customers/queries/get_customer_with_orders.rs:12
Class
GetLen
src/domain/infra/func.rs:93
Class
GetLineItemWithProduct
src/domain/orders/queries/get_line_item_with_product.rs:15
Class
GetOrder
src/domain/orders/queries/get_order.rs:11
Class
GetOrderSummariesForCustomer
src/domain/orders/queries/get_order_summaries_for_customer.rs:12
Class
GetOrderWithProducts
src/domain/orders/queries/get_order_with_products.rs:13
Class
GetProduct
src/domain/products/queries/get_product.rs:11
Class
GetProductSummaries
src/domain/products/queries/get_product_summaries.rs:11
Interface
IdProvider
src/domain/infra/id.rs:140
Class
InMemoryStore
A test in-memory order store. */
src/domain/orders/model/store.rs:49
Enum
IntoLineItem
An attempt to turn an order into a line item. If the line item was in the order then the result is `InOrder`. If the line item was not in the order t
src/domain/orders/model/mod.rs:102
Class
LineItemData
src/domain/orders/model/mod.rs:67
Class
LineItemWithProduct
src/domain/orders/queries/get_line_item_with_product.rs:21
Class
Order
An order and its line items. Products can be added to an order as a line item. */
src/domain/orders/model/mod.rs:81
Class
OrderBuilder
src/domain/orders/model/test_data.rs:11
Class
OrderData
src/domain/orders/model/mod.rs:58
Class
OrderLineItem
An order and one of its line items. Properties on the line item can be updated. */
src/domain/orders/model/mod.rs:91
Class
OrderLineItemBuilder
src/domain/orders/model/test_data.rs:63
Interface
OrderStore
src/domain/orders/model/store.rs:19
Interface
OrderStoreFilter
src/domain/orders/model/store.rs:40
Class
OrderSummary
src/domain/orders/queries/get_order_summaries_for_customer.rs:18
Class
OrderWithProducts
src/domain/orders/queries/get_order_with_products.rs:19
Class
OrdersResolver
src/domain/orders/resolver.rs:21
Class
Product
A product with some simple metadata. */
src/domain/products/model/mod.rs:76
Class
ProductBuilder
src/domain/products/model/test_data.rs:18
Class
ProductData
src/domain/products/model/mod.rs:67
Class
ProductLineItem
src/domain/orders/queries/get_order_with_products.rs:26
Class
ProductQuantity
src/api/orders.rs:85
Interface
ProductStore
src/domain/products/model/store.rs:15
Interface
ProductStoreFilter
src/domain/products/model/store.rs:29
Class
ProductSummary
src/domain/products/queries/get_product_summaries.rs:17
Class
ProductsResolver
src/domain/products/resolver.rs:21
Interface
Query
src/domain/infra/func.rs:31
Interface
QueryArgs
src/domain/infra/func.rs:27
Class
RequestSpan
src/api/infra/span.rs:28
Class
Resolver
Resolver for the domain. The goal of the resolver is to let consumers construct components without having to know what their dependencies are. The `
src/domain/infra/resolver.rs:49
Class
SerializeError
src/api/infra/error.rs:92
Class
SetProductTitle
src/domain/products/commands/set_product_title.rs:12
Class
SpanFairing
A fairing that creates diagnostic spans for incoming requests. Endpoints need to accept a [`RequestSpan`] argument to use the generated span. */
src/api/infra/span.rs:26
Class
Transaction
An active transaction. The transaction needs to be passed by reference to methods that want to make changes to values. A transaction can either be co
src/store/transaction.rs:41
Class
TransactionEntry
src/store/transaction.rs:24
Enum
TransactionStatus
src/store/transaction.rs:28
Class
TransactionStore
src/store/transaction.rs:83
Class
TransactionValueStore
A generic value store for transactional values. This store can participate in transactions with other disconnected stores. */
src/store/value.rs:80
Class
TransactionalValue
src/store/value.rs:70
Class
TransactionsResolver
src/domain/infra/transaction/resolver.rs:10