Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LukeMathWalker/build-your-own-jira-with-rust
/ types & classes
Types & classes
62 in github.com/LukeMathWalker/build-your-own-jira-with-rust
⨍
Functions
229
◇
Types & classes
62
↓ 3 callers
Class
ValidationError
jira-wip/src/koans/02_ticket_store/07_vec.rs:90
↓ 3 callers
Class
ValidationError
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:161
↓ 3 callers
Class
ValidationError
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:145
↓ 1 callers
Class
ValidationError
jira-wip/src/koans/02_ticket_store/06_result.rs:78
Class
Command
koans-framework/src/main.rs:17
Enum
Command
A small command-line interface to interact with a toy Jira clone, IronJira.
jira-wip/src/koans/03_cli/00_cli.rs:34
Enum
Command
A small command-line interface to interact with a toy Jira clone, IronJira.
jira-cli/src/main.rs:13
Class
Comment
Represents a comment on a [Ticket](Ticket) Wraps a string and checks that it is not empty when set
jira-cli/src/models/comment.rs:9
Class
CommentError
Error if a comment cannot be created
jira-cli/src/models/comment.rs:15
Class
DeletedTicket
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:146
Class
DeletedTicket
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:130
Class
DeletedTicket
A ticket that was deleted from the store. Using the new-type pattern to distinguish it from [Ticket](Ticket).
jira-cli/src/models/ticket.rs:50
Class
Koan
koans-framework/src/lib.rs:162
Class
KoanCollection
koans-framework/src/lib.rs:44
Class
KoanConfiguration
koans-framework/src/lib.rs:9
Class
ParsingError
jira-wip/src/koans/03_cli/00_cli.rs:85
Enum
Status
jira-wip/src/koans/01_ticket/07_derive.rs:23
Enum
Status
jira-wip/src/koans/01_ticket/08_recap.rs:8
Enum
Status
Rust's enums are perfect for this usecase. Enum stands for enumeration: a type encoding the constraint that only a finite set of values is possible. E
jira-wip/src/koans/01_ticket/02_status.rs:26
Enum
Status
Structs, enums and functions defined in a module are visible to all other structs, enums and functions in the same module - e.g. we can use `Ticket` i
jira-wip/src/koans/01_ticket/04_visibility.rs:23
Enum
Status
jira-wip/src/koans/01_ticket/03_validation.rs:1
Enum
Status
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:156
Enum
Status
jira-cli/src/models/ticket.rs:39
Enum
TestOutcome
koans-framework/src/main.rs:145
Class
Ticket
We will begin our journey of building our own JIRA clone defining the cornerstone of JIRA's experience: the ticket. For now we want to limit ourselves
jira-wip/src/koans/01_ticket/01_ticket.rs:18
Class
Ticket
Re-defining Ticket here because methods who need to access private fields have to be defined in the same module of the struct itself, as we saw in the
jira-wip/src/koans/01_ticket/05_ownership.rs:15
Class
Ticket
jira-wip/src/koans/01_ticket/08_recap.rs:15
Class
Ticket
Ticket have two purposes in JIRA: capturing information about a task and tracking the completion of the task itself. Let's add a new field to our `Ti
jira-wip/src/koans/01_ticket/02_status.rs:9
Class
Ticket
jira-wip/src/koans/01_ticket/04_visibility.rs:30
Class
Ticket
jira-wip/src/koans/01_ticket/03_validation.rs:8
Class
Ticket
jira-wip/src/koans/02_ticket_store/04_metadata.rs:49
Class
Ticket
jira-wip/src/koans/02_ticket_store/07_vec.rs:101
Class
Ticket
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:172
Class
Ticket
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:164
Class
Ticket
jira-wip/src/koans/02_ticket_store/06_result.rs:97
Class
Ticket
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:41
Class
Ticket
jira-cli/src/models/ticket.rs:14
Class
TicketDescription
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:102
Class
TicketDescription
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:102
Class
TicketDraft
jira-wip/src/koans/02_ticket_store/07_vec.rs:56
Class
TicketDraft
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:137
Class
TicketDraft
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:124
Class
TicketDraft
jira-wip/src/koans/02_ticket_store/06_result.rs:43
Class
TicketDraft
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:36
Class
TicketDraft
The content of the ticket, not yet saved in the [TicketStore](TicketStore::create).
jira-cli/src/models/ticket_draft.rs:5
Class
TicketPatch
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:121
Class
TicketPatch
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:117
Class
TicketPatch
The content of the ticket, to be updated in the [TicketStore](TicketStore::create).
jira-cli/src/models/ticket_patch.rs:5
Class
TicketStore
Feel free to add more fields to `TicketStore` to solve this koan!
jira-wip/src/koans/02_ticket_store/03_id_generation.rs:20
Class
TicketStore
jira-wip/src/koans/02_ticket_store/04_metadata.rs:12
Class
TicketStore
jira-wip/src/koans/02_ticket_store/02_option.rs:4
Class
TicketStore
First we will create a TicketStore struct, with a `data` field of type HashMap. HashMap is a *generic* struct: we need to specify two types, one for
jira-wip/src/koans/02_ticket_store/01_store.rs:24
Class
TicketStore
Let's turn our attention again to our `TicketStore`. We can create a ticket, we can retrieve a ticket. Let's implement a `list` method to retrieve al
jira-wip/src/koans/02_ticket_store/07_vec.rs:11
Class
TicketStore
There are only two pieces missing: deleting a ticket and updating a ticket in our `TicketStore`. The update functionality will give us the possibility
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:11
Class
TicketStore
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:15
Class
TicketStore
jira-wip/src/koans/02_ticket_store/06_result.rs:105
Class
TicketStore
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:45
Class
TicketStore
jira-cli/src/store.rs:7
Class
TicketTitle
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:85
Class
TicketTitle
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:85
Class
Title
The title of a [Ticket](Ticket) Wraps a string and checks that it's not empty when set
jira-cli/src/models/title.rs:9
Class
TitleError
Error if a title cannot be created
jira-cli/src/models/title.rs:15