MCPcopy Create free account

hub / github.com/KodrAus/rust-web-app / functions

Functions230 in github.com/KodrAus/rust-web-app

↓ 1 callersMethodset_product_title_command
Set an existing product's title. */
src/domain/products/commands/set_product_title.rs:44
↓ 1 callersMethodset_title
(&mut self, title: impl TryInto<Title, Error = Error>)
src/domain/products/model/mod.rs:109
↓ 1 callersMethodsplit
Split an error into its kind and value. */
src/domain/error.rs:80
↓ 1 callersMethodtrace
(self, f: impl Future<Output = Result<T, Error>>)
src/api/infra/span.rs:33
↓ 1 callersMethodwith_active_transaction
( &self, active_transaction: Register<ActiveTransaction>, )
src/domain/infra/transaction/resolver.rs:69
Functionadd_customer_twice_fails_concurrency_check
()
src/domain/customers/model/store.rs:74
Functionadd_item_if_not_in_order
()
src/domain/orders/commands/add_or_update_product.rs:91
Functionadd_item_to_order
()
src/domain/orders/model/mod.rs:257
Functionadd_or_update_product
( id: OrderId, product_id: ProductId, data: Json<ProductQuantity>, app: AppRequest<'_>, )
src/api/orders.rs:95
Functionadd_order_twice_fails_concurrency_check
()
src/domain/orders/model/store.rs:231
Functionadd_product_twice_fails_concurrency_check
()
src/domain/products/model/store.rs:107
Methodbegin
(store: TransactionStore)
src/domain/infra/transaction/active.rs:24
Methodcancel
Cancel the transaction, reverting its changes. There must be no other callers holding on to this transaction when it's cancelled. If there ar
src/domain/infra/transaction/active.rs:62
Functioncancelled_transaction_is_not_committed
()
src/store/transaction.rs:212
Methodclone
(&self)
src/domain/infra/version.rs:63
Methodcmp
(&self, other: &Self)
src/domain/infra/id.rs:89
Methodcmp
(&self, other: &Self)
src/domain/infra/version.rs:91
Functioncommitted_transaction_is_committed
()
src/store/transaction.rs:236
Functioncreate
( data: Json<Create>, app: AppRequest<'_>, )
src/api/orders.rs:60
Functioncreate
(app: AppRequest<'_>)
src/api/customers.rs:32
Functioncreate
( data: Json<Create>, app: AppRequest<'_>, )
src/api/products.rs:53
Methoddefault
()
src/store/transaction.rs:88
Methoddefault
()
src/domain/infra/id.rs:154
Methoddefault
()
src/domain/infra/version.rs:71
Methoddefault
()
src/domain/infra/resolver.rs:22
Methoddefault
()
src/domain/infra/transaction/resolver.rs:16
Methoddefault
()
src/domain/customers/resolver.rs:25
Methoddefault
()
src/domain/customers/model/test_data.rs:12
Methoddefault
()
src/domain/products/resolver.rs:26
Methoddefault
()
src/domain/products/model/test_data.rs:23
Methoddefault
()
src/domain/orders/resolver.rs:26
Methoddefault
()
src/domain/orders/model/test_data.rs:20
Methoddeserialize
(deserializer: D)
src/domain/infra/id.rs:125
Methoddeserialize
(deserializer: D)
src/domain/infra/version.rs:112
Methoddrop
(&mut self)
src/store/transaction.rs:59
Methodeq
(&self, other: &Self)
src/domain/infra/id.rs:75
Methodeq
(&self, other: &Self)
src/domain/infra/version.rs:77
Functionerr_if_already_exists
()
src/domain/customers/commands/create_customer.rs:59
Functionerr_if_already_exists
()
src/domain/products/commands/create_product.rs:62
Functionerr_if_already_exists
()
src/domain/orders/commands/create_order.rs:74
Functionerr_multi_transaction_value_store_set
()
src/store/value.rs:583
Functionerr_transaction_value_store_set_version_mismatch
()
src/store/value.rs:550
Functionexisting_id_in_fresh_store_is_committed
()
src/store/value.rs:300
Methodfactory
Create a register that returns a new instance of a value each time. */
src/domain/infra/resolver.rs:100
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/store/value.rs:28
Methodfmt
(&self, f: &mut fmt::Formatter)
src/domain/error.rs:23
Methodfmt
(&self, f: &mut Formatter)
src/domain/infra/id.rs:55
Methodfmt
(&self, f: &mut Formatter)
src/domain/infra/version.rs:51
Methodfrom
(err: E)
src/domain/error.rs:89
Methodfrom
(id: Id<T>)
src/domain/infra/id.rs:43
Methodfrom
(id: Version<T>)
src/domain/infra/version.rs:39
Methodfrom
(err: domain::Error)
src/api/infra/error.rs:75
Methodfrom_data
(data: CustomerData)
src/domain/customers/model/mod.rs:31
Methodfrom_data
(data: ProductData)
src/domain/products/model/mod.rs:81
Methodfrom_data
(order: OrderData, line_item: LineItemData)
src/domain/orders/model/mod.rs:108
Methodfrom_param
(param: &'r str)
src/api/infra/id.rs:12
Methodfrom_raw
(id: Uuid)
src/store/value.rs:38
Methodfrom_request
(req: &'r Request<'_>)
src/api/infra/span.rs:110
Methodfrom_request
(req: &'r Request<'_>)
src/api/infra/request.rs:46
Functionget
(id: OrderId, app: AppRequest<'_>)
src/api/orders.rs:20
Functionget
(id: CustomerId, app: AppRequest<'_>)
src/api/customers.rs:18
Functionget
(id: ProductId, app: AppRequest<'_>)
src/api/products.rs:25
Methodget
(&self)
src/domain/infra/id.rs:145
Functionget_line_item
( id: OrderId, line_item_id: LineItemId, app: AppRequest<'_>, )
src/api/orders.rs:34
Methodget_order_query
Get an order. */
src/domain/orders/queries/get_order.rs:26
Methodget_sync
( id: Id, transactions: &TransactionStore, data: &'a HashMap<Id, TransactionalValue<T>
src/store/value.rs:151
Methodhash
(&self, state: &mut H)
src/domain/infra/id.rs:95
Methodhash
(&self, state: &mut H)
src/domain/infra/version.rs:97
Methodinfo
(&self)
src/api/infra/span.rs:73
Functioninit
Create a `Rocket` that will host the app. The rocket can either be launched or passed to a local client for testing. */
src/api/mod.rs:20
Functioninitial_transaction_is_not_committed
()
src/store/transaction.rs:203
Functioninternal_error
(_: &Request)
src/api/infra/error.rs:105
Functionleaked_transaction_is_not_committed
()
src/store/transaction.rs:224
Functionmain
()
src/main.rs:11
Methodnew
()
src/store/value.rs:34
Methodnew
Create a new store. The store is initially empty, so it will consider any transaction ids it encounters committed. */
src/store/transaction.rs:100
Methodnew
()
src/domain/infra/id.rs:102
Methodnew
(cents: u64)
src/domain/infra/currency.rs:30
Methodnew
()
src/domain/infra/version.rs:122
Methodnew
()
src/domain/infra/resolver.rs:28
Methodnew
(id: impl IdProvider<CustomerData>)
src/domain/customers/model/mod.rs:43
Methodnew
()
src/domain/customers/model/test_data.rs:20
Methodnew
( id: impl IdProvider<ProductData>, title: impl TryInto<Title, Error = Error>, price:
src/domain/products/model/mod.rs:93
Methodnew
()
src/domain/products/model/test_data.rs:31
Methodnew
(id: impl IdProvider<OrderData>, customer: &Customer)
src/domain/orders/model/mod.rs:165
Methodnew
()
src/domain/orders/model/test_data.rs:29
Methodnext
(&mut self)
src/domain/infra/version.rs:128
Methodnone
An "empty" transaction that makes all changes immediately observable. */
src/store/transaction.rs:50
Methodnone
()
src/domain/infra/transaction/active.rs:70
Functionnot_found
(_: &Request)
src/api/infra/error.rs:115
Methodon_request
(&self, req: &mut Request<'_>, _: &mut Data<'_>)
src/api/infra/span.rs:80
Methodon_response
(&self, req: &'r Request<'_>, res: &mut Response<'r>)
src/api/infra/span.rs:84
Methodonce
Create a register that returns the same instance of a value. */
src/domain/infra/resolver.rs:87
Methodpartial_cmp
(&self, other: &Self)
src/domain/infra/id.rs:83
Methodpartial_cmp
(&self, other: &Self)
src/domain/infra/version.rs:85
Functionproduct_must_not_be_in_order_when_adding
()
src/domain/orders/model/mod.rs:289
Methodquantity
(mut self, quantity: u32)
src/domain/orders/model/test_data.rs:73
Functionquantity_must_be_greater_than_0
()
src/domain/orders/model/mod.rs:274
Methodrespond_to
(self, _: &Request)
src/api/infra/error.rs:59
Methodserialize
(&self, serializer: S)
src/domain/infra/id.rs:116
← previousnext →101–200 of 230, ranked by callers