MCPcopy Create free account

hub / github.com/KodrAus/rust-web-app / types & classes

Types & classes86 in github.com/KodrAus/rust-web-app

↓ 6 callersClassVersion
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 callersClassId
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 callersClassTransactionId
src/store/transaction.rs:22
↓ 2 callersEnumError
src/api/infra/error.rs:27
↓ 2 callersClassId
src/store/value.rs:25
↓ 2 callersClassRegister
src/domain/infra/resolver.rs:81
↓ 2 callersClassVersion
src/store/value.rs:54
↓ 1 callersClassInMemoryStore
src/domain/customers/model/store.rs:18
↓ 1 callersClassInMemoryStore
A test in-memory product store. */
src/domain/products/model/store.rs:38
↓ 1 callersClassNextId
Generate a new `Id` randomly. */
src/domain/infra/id.rs:151
↓ 1 callersClassPrice
A produce price. The price must be greater than zero. */
src/domain/products/model/mod.rs:55
↓ 1 callersClassQuantity
An order item quantity. Quantities must be greater than zero. */
src/domain/orders/model/mod.rs:42
↓ 1 callersClassTitle
A product title. The title must not be empty. */
src/domain/products/model/mod.rs:28
↓ 1 callersClassUSD
src/domain/infra/currency.rs:25
ClassActiveTransaction
src/domain/infra/transaction/active.rs:18
ClassAddOrUpdateProduct
src/domain/orders/commands/add_or_update_product.rs:13
ClassAddValue
src/domain/infra/func.rs:88
ClassApp
The app. */
src/domain/infra/resolver.rs:17
ClassAppRequest
src/api/infra/request.rs:22
ClassCachedSpan
An internal type used to store a span on the request
src/api/infra/span.rs:55
InterfaceCommand
src/domain/infra/func.rs:11
InterfaceCommandArgs
src/domain/infra/func.rs:7
ClassCreate
src/api/orders.rs:54
ClassCreate
src/api/products.rs:46
ClassCreateCustomer
src/domain/customers/commands/create_customer.rs:12
ClassCreateOrder
src/domain/orders/commands/create_order.rs:13
ClassCreateProduct
src/domain/products/commands/create_product.rs:12
EnumCurrency
src/domain/infra/currency.rs:9
ClassCustomer
A customer. */
src/domain/customers/model/mod.rs:26
ClassCustomerBuilder
src/domain/customers/model/test_data.rs:7
ClassCustomerData
src/domain/customers/model/mod.rs:19
ClassCustomerOrder
src/domain/customers/queries/get_customer_with_orders.rs:25
InterfaceCustomerStore
src/domain/customers/model/store.rs:13
ClassCustomerWithOrders
src/domain/customers/queries/get_customer_with_orders.rs:18
ClassCustomersResolver
src/domain/customers/resolver.rs:20
InterfaceEntity
src/domain/infra/entity.rs:10
ClassError
src/domain/error.rs:17
EnumErrorKind
src/domain/error.rs:32
ClassGet
src/api/products.rs:17
ClassGetCustomer
src/domain/customers/queries/get_customer.rs:11
ClassGetCustomerWithOrders
src/domain/customers/queries/get_customer_with_orders.rs:12
ClassGetLen
src/domain/infra/func.rs:93
ClassGetLineItemWithProduct
src/domain/orders/queries/get_line_item_with_product.rs:15
ClassGetOrder
src/domain/orders/queries/get_order.rs:11
ClassGetOrderSummariesForCustomer
src/domain/orders/queries/get_order_summaries_for_customer.rs:12
ClassGetOrderWithProducts
src/domain/orders/queries/get_order_with_products.rs:13
ClassGetProduct
src/domain/products/queries/get_product.rs:11
ClassGetProductSummaries
src/domain/products/queries/get_product_summaries.rs:11
InterfaceIdProvider
src/domain/infra/id.rs:140
ClassInMemoryStore
A test in-memory order store. */
src/domain/orders/model/store.rs:49
EnumIntoLineItem
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
ClassLineItemData
src/domain/orders/model/mod.rs:67
ClassLineItemWithProduct
src/domain/orders/queries/get_line_item_with_product.rs:21
ClassOrder
An order and its line items. Products can be added to an order as a line item. */
src/domain/orders/model/mod.rs:81
ClassOrderBuilder
src/domain/orders/model/test_data.rs:11
ClassOrderData
src/domain/orders/model/mod.rs:58
ClassOrderLineItem
An order and one of its line items. Properties on the line item can be updated. */
src/domain/orders/model/mod.rs:91
ClassOrderLineItemBuilder
src/domain/orders/model/test_data.rs:63
InterfaceOrderStore
src/domain/orders/model/store.rs:19
InterfaceOrderStoreFilter
src/domain/orders/model/store.rs:40
ClassOrderSummary
src/domain/orders/queries/get_order_summaries_for_customer.rs:18
ClassOrderWithProducts
src/domain/orders/queries/get_order_with_products.rs:19
ClassOrdersResolver
src/domain/orders/resolver.rs:21
ClassProduct
A product with some simple metadata. */
src/domain/products/model/mod.rs:76
ClassProductBuilder
src/domain/products/model/test_data.rs:18
ClassProductData
src/domain/products/model/mod.rs:67
ClassProductLineItem
src/domain/orders/queries/get_order_with_products.rs:26
ClassProductQuantity
src/api/orders.rs:85
InterfaceProductStore
src/domain/products/model/store.rs:15
InterfaceProductStoreFilter
src/domain/products/model/store.rs:29
ClassProductSummary
src/domain/products/queries/get_product_summaries.rs:17
ClassProductsResolver
src/domain/products/resolver.rs:21
InterfaceQuery
src/domain/infra/func.rs:31
InterfaceQueryArgs
src/domain/infra/func.rs:27
ClassRequestSpan
src/api/infra/span.rs:28
ClassResolver
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
ClassSerializeError
src/api/infra/error.rs:92
ClassSetProductTitle
src/domain/products/commands/set_product_title.rs:12
ClassSpanFairing
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
ClassTransaction
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
ClassTransactionEntry
src/store/transaction.rs:24
EnumTransactionStatus
src/store/transaction.rs:28
ClassTransactionStore
src/store/transaction.rs:83
ClassTransactionValueStore
A generic value store for transactional values. This store can participate in transactions with other disconnected stores. */
src/store/value.rs:80
ClassTransactionalValue
src/store/value.rs:70
ClassTransactionsResolver
src/domain/infra/transaction/resolver.rs:10