MCPcopy Create free account

hub / github.com/LukeMathWalker/build-your-own-jira-with-rust / types & classes

Types & classes62 in github.com/LukeMathWalker/build-your-own-jira-with-rust

↓ 3 callersClassValidationError
jira-wip/src/koans/02_ticket_store/07_vec.rs:90
↓ 3 callersClassValidationError
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:161
↓ 3 callersClassValidationError
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:145
↓ 1 callersClassValidationError
jira-wip/src/koans/02_ticket_store/06_result.rs:78
ClassCommand
koans-framework/src/main.rs:17
EnumCommand
A small command-line interface to interact with a toy Jira clone, IronJira.
jira-wip/src/koans/03_cli/00_cli.rs:34
EnumCommand
A small command-line interface to interact with a toy Jira clone, IronJira.
jira-cli/src/main.rs:13
ClassComment
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
ClassCommentError
Error if a comment cannot be created
jira-cli/src/models/comment.rs:15
ClassDeletedTicket
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:146
ClassDeletedTicket
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:130
ClassDeletedTicket
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
ClassKoan
koans-framework/src/lib.rs:162
ClassKoanCollection
koans-framework/src/lib.rs:44
ClassKoanConfiguration
koans-framework/src/lib.rs:9
ClassParsingError
jira-wip/src/koans/03_cli/00_cli.rs:85
EnumStatus
jira-wip/src/koans/01_ticket/07_derive.rs:23
EnumStatus
jira-wip/src/koans/01_ticket/08_recap.rs:8
EnumStatus
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
EnumStatus
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
EnumStatus
jira-wip/src/koans/01_ticket/03_validation.rs:1
EnumStatus
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:156
EnumStatus
jira-cli/src/models/ticket.rs:39
EnumTestOutcome
koans-framework/src/main.rs:145
ClassTicket
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
ClassTicket
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
ClassTicket
jira-wip/src/koans/01_ticket/08_recap.rs:15
ClassTicket
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
ClassTicket
jira-wip/src/koans/01_ticket/04_visibility.rs:30
ClassTicket
jira-wip/src/koans/01_ticket/03_validation.rs:8
ClassTicket
jira-wip/src/koans/02_ticket_store/04_metadata.rs:49
ClassTicket
jira-wip/src/koans/02_ticket_store/07_vec.rs:101
ClassTicket
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:172
ClassTicket
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:164
ClassTicket
jira-wip/src/koans/02_ticket_store/06_result.rs:97
ClassTicket
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:41
ClassTicket
jira-cli/src/models/ticket.rs:14
ClassTicketDescription
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:102
ClassTicketDescription
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:102
ClassTicketDraft
jira-wip/src/koans/02_ticket_store/07_vec.rs:56
ClassTicketDraft
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:137
ClassTicketDraft
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:124
ClassTicketDraft
jira-wip/src/koans/02_ticket_store/06_result.rs:43
ClassTicketDraft
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:36
ClassTicketDraft
The content of the ticket, not yet saved in the [TicketStore](TicketStore::create).
jira-cli/src/models/ticket_draft.rs:5
ClassTicketPatch
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:121
ClassTicketPatch
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:117
ClassTicketPatch
The content of the ticket, to be updated in the [TicketStore](TicketStore::create).
jira-cli/src/models/ticket_patch.rs:5
ClassTicketStore
Feel free to add more fields to `TicketStore` to solve this koan!
jira-wip/src/koans/02_ticket_store/03_id_generation.rs:20
ClassTicketStore
jira-wip/src/koans/02_ticket_store/04_metadata.rs:12
ClassTicketStore
jira-wip/src/koans/02_ticket_store/02_option.rs:4
ClassTicketStore
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
ClassTicketStore
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
ClassTicketStore
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
ClassTicketStore
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:15
ClassTicketStore
jira-wip/src/koans/02_ticket_store/06_result.rs:105
ClassTicketStore
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:45
ClassTicketStore
jira-cli/src/store.rs:7
ClassTicketTitle
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:85
ClassTicketTitle
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:85
ClassTitle
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
ClassTitleError
Error if a title cannot be created
jira-cli/src/models/title.rs:15