Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LukeMathWalker/build-your-own-jira-with-rust
/ functions
Functions
229 in github.com/LukeMathWalker/build-your-own-jira-with-rust
⨍
Functions
229
◇
Types & classes
62
↓ 19 callers
Method
into
(self)
koans-framework/src/lib.rs:215
↓ 9 callers
Function
generate_ticket_draft
()
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:372
↓ 9 callers
Method
get
Retrieve a [Ticket] given an identifier. Returns `None` if there is no ticket with such an identifier.
jira-cli/src/store.rs:58
↓ 8 callers
Method
save
(&mut self, draft: TicketDraft)
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:24
↓ 5 callers
Method
create
Given a ticket draft, it generates a unique identifier, it persists the new ticket in the store (assigning it a [ToDo status](Status::ToDo)) and retur
jira-cli/src/store.rs:26
↓ 5 callers
Method
manifest_path
(&self)
koans-framework/src/lib.rs:39
↓ 5 callers
Method
save
(&mut self, draft: TicketDraft)
jira-wip/src/koans/02_ticket_store/07_vec.rs:24
↓ 4 callers
Function
create_ticket
So far we have allowed any string as a valid title and description. That's not what would happen in JIRA: we wouldn't allow tickets with an empty titl
jira-wip/src/koans/01_ticket/03_validation.rs:26
↓ 4 callers
Function
create_ticket
(title: String, description: String, status: Status)
jira-wip/src/koans/02_ticket_store/04_metadata.rs:79
↓ 4 callers
Function
generate_and_persist_ticket
(store: &mut TicketStore)
jira-cli/src/store.rs:184
↓ 4 callers
Function
generate_ticket_draft
()
jira-wip/src/koans/02_ticket_store/07_vec.rs:223
↓ 3 callers
Method
add_comment_to_ticket
(&mut self, id: TicketId, comment: Comment)
jira-cli/src/store.rs:79
↓ 3 callers
Method
delete
Remove a [Ticket] from the store. Returns None if the [Ticket](Ticket) is not there or [DeletedTicket](DeletedTicket) if there was one.
jira-cli/src/store.rs:41
↓ 3 callers
Method
enlightenment_path
(&self)
koans-framework/src/lib.rs:35
↓ 3 callers
Function
generate_ticket
(status: Status)
jira-wip/src/koans/02_ticket_store/04_metadata.rs:145
↓ 3 callers
Function
generate_ticket
(status: Status)
jira-wip/src/koans/02_ticket_store/02_option.rs:98
↓ 3 callers
Function
generate_ticket
(status: Status)
jira-wip/src/koans/02_ticket_store/01_store.rs:117
↓ 3 callers
Method
list
Returns list off all inserted [Ticket](Ticket) Returns an empty list of tickets is there are no tickets in the store
jira-cli/src/store.rs:47
↓ 3 callers
Method
save
(&mut self, ticket: Ticket, id: u32)
jira-wip/src/koans/02_ticket_store/02_option.rs:15
↓ 3 callers
Method
save
We take `&mut self` because we will have to mutate our HashMap to insert a new key-value pair.
jira-wip/src/koans/02_ticket_store/01_store.rs:42
↓ 3 callers
Method
update_ticket
Update a [Ticket] given an identifier and new [TicketPatch]. Returns `None` if there is no ticket with such an identifier.
jira-cli/src/store.rs:63
↓ 2 callers
Function
data_store_filename
()
jira-cli/src/persistence.rs:17
↓ 2 callers
Function
generate_ticket
(status: Status)
jira-wip/src/koans/02_ticket_store/03_id_generation.rs:103
↓ 2 callers
Function
generate_ticket_draft
()
jira-wip/src/koans/02_ticket_store/06_result.rs:225
↓ 2 callers
Function
generate_ticket_draft
()
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:159
↓ 2 callers
Function
generate_ticket_patch
(status: Status)
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:379
↓ 2 callers
Method
get
(&self, id: &TicketId)
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:41
↓ 2 callers
Method
n_opened
(&self)
koans-framework/src/lib.rs:89
↓ 2 callers
Method
next
(&self)
koans-framework/src/lib.rs:129
↓ 2 callers
Function
parse_bool
(s: &str)
koans-framework/src/main.rs:82
↓ 2 callers
Method
save
So far we have taken the `id` as one the parameters of our `save` method. What happens when you call save passing two different tickets with the same
jira-wip/src/koans/02_ticket_store/03_id_generation.rs:47
↓ 2 callers
Method
save
(&mut self, ticket: Ticket)
jira-wip/src/koans/02_ticket_store/04_metadata.rs:32
↓ 2 callers
Method
save
(&mut self, draft: TicketDraft)
jira-wip/src/koans/02_ticket_store/06_result.rs:118
↓ 2 callers
Method
save
(&mut self, draft: TicketDraft)
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:59
↓ 2 callers
Method
update
We take in an `id` and a `patch` struct: this allows us to constrain which of the fields in a `Ticket` can actually be updated. For example, we don't
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:60
↓ 2 callers
Method
update_ticket_status
Update a [Ticket] [Status] given an identifier and new [Status]. Returns `None` if there is no ticket with such an identifier.
jira-cli/src/store.rs:75
↓ 1 callers
Method
configuration
(&self)
koans-framework/src/lib.rs:85
↓ 1 callers
Function
create_ticket
(title: String, description: String, status: Status)
jira-wip/src/koans/01_ticket/05_ownership.rs:87
↓ 1 callers
Function
create_ticket
(title: String, description: String, status: Status)
jira-wip/src/koans/01_ticket/04_visibility.rs:36
↓ 1 callers
Function
create_ticket_draft
(title: String, description: String)
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:100
↓ 1 callers
Method
delete
If the `id` passed in matches a ticket in the store, we return the deleted ticket with some additional metadata. If it doesn't, we return `None`.
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:67
↓ 1 callers
Method
delete
(&mut self, id: &TicketId)
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:71
↓ 1 callers
Method
generate_id
(__)
jira-wip/src/koans/02_ticket_store/03_id_generation.rs:58
↓ 1 callers
Method
generate_id
(&mut self)
jira-wip/src/koans/02_ticket_store/04_metadata.rs:42
↓ 1 callers
Method
generate_id
(&mut self)
jira-wip/src/koans/02_ticket_store/07_vec.rs:49
↓ 1 callers
Method
generate_id
(&mut self)
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:71
↓ 1 callers
Method
generate_id
(&mut self)
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:78
↓ 1 callers
Method
generate_id
(&mut self)
jira-wip/src/koans/02_ticket_store/06_result.rs:135
↓ 1 callers
Method
generate_id
(&mut self)
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:81
↓ 1 callers
Method
generate_id
Generate a unique id by incrementing monotonically a private counter.
jira-cli/src/store.rs:52
↓ 1 callers
Function
generate_ticket_draft
()
jira-wip/src/koans/03_cli/01_persistence.rs:77
↓ 1 callers
Method
get
(&self, id: &TicketId)
jira-wip/src/koans/02_ticket_store/04_metadata.rs:38
↓ 1 callers
Method
get
(&self, id: &u32)
jira-wip/src/koans/02_ticket_store/01_store.rs:46
↓ 1 callers
Method
get
(&self, id: &TicketId)
jira-wip/src/koans/02_ticket_store/07_vec.rs:37
↓ 1 callers
Method
get
(&self, id: &TicketId)
jira-wip/src/koans/02_ticket_store/06_result.rs:131
↓ 1 callers
Method
get
(&self, id: &TicketId)
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:77
↓ 1 callers
Method
koans_path
(&self)
koans-framework/src/lib.rs:31
↓ 1 callers
Function
load
Fetch authentication parameters from a configuration file, if available.
jira-wip/src/koans/03_cli/01_persistence.rs:22
↓ 1 callers
Function
load
Fetch authentication parameters from a configuration file, if available.
jira-cli/src/persistence.rs:36
↓ 1 callers
Method
open_next
(&mut self)
koans-framework/src/lib.rs:138
↓ 1 callers
Method
opened
(&self)
koans-framework/src/lib.rs:125
↓ 1 callers
Function
run_tests
(manifest_path: &Path, filter: Option<&str>)
koans-framework/src/main.rs:108
↓ 1 callers
Function
save
Save tickets on disk in the right file.
jira-wip/src/koans/03_cli/01_persistence.rs:43
↓ 1 callers
Function
save
Save tickets on disk in the right file.
jira-cli/src/persistence.rs:58
↓ 1 callers
Function
seek_the_path
(koans: &KoanCollection)
koans-framework/src/main.rs:90
Function
a_blocked_ticket
()
jira-wip/src/koans/01_ticket/02_status.rs:37
Function
a_missing_ticket
()
jira-wip/src/koans/02_ticket_store/03_id_generation.rs:82
Function
a_missing_ticket
()
jira-wip/src/koans/02_ticket_store/04_metadata.rs:126
Function
a_missing_ticket
()
jira-wip/src/koans/02_ticket_store/02_option.rs:77
Function
a_missing_ticket
()
jira-wip/src/koans/02_ticket_store/01_store.rs:94
Function
a_missing_ticket
()
jira-wip/src/koans/02_ticket_store/07_vec.rs:204
Function
a_missing_ticket
()
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:340
Function
a_missing_ticket
()
jira-wip/src/koans/02_ticket_store/06_result.rs:206
Function
a_missing_ticket
()
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:138
Function
a_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/03_id_generation.rs:70
Function
a_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/04_metadata.rs:111
Function
a_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/02_option.rs:62
Function
a_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/01_store.rs:62
Function
a_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/07_vec.rs:190
Function
a_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:325
Function
a_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/06_result.rs:192
Function
a_ticket_with_a_home
()
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:123
Function
add_comment_to_invalid_ticket_id_returns_none
()
jira-cli/src/store.rs:295
Function
add_comment_to_ticket
()
jira-cli/src/store.rs:279
Function
assertions
()
jira-wip/src/koans/01_ticket/07_derive.rs:35
Function
cargo_style
()
koans-framework/src/main.rs:153
Function
create_ticket
(title: String, description: String, status: Status)
jira-wip/src/koans/01_ticket/08_recap.rs:35
Function
create_ticket_test
()
jira-cli/src/store.rs:92
Method
created_at
The datetime when the ticket was saved in the store, if it was saved.
jira-wip/src/koans/02_ticket_store/04_metadata.rs:69
Method
created_at
(&self)
jira-wip/src/koans/02_ticket_store/07_vec.rs:119
Method
created_at
(&self)
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:191
Method
created_at
(&self)
jira-wip/src/koans/02_ticket_store/09_store_recap.rs:183
Method
created_at
(&self)
jira-wip/src/koans/02_ticket_store/06_result.rs:151
Method
created_at
(&self)
jira-wip/src/koans/02_ticket_store/05_type_as_constraints.rs:96
Function
creating_an_empty_title_should_fail
()
jira-cli/src/models/title.rs:64
Function
creating_empty_comment_should_fail
()
jira-cli/src/models/comment.rs:64
Function
data_store_filename
Determine the right location to store data based on the user OS. It relies on the `directories` crate - see https://crates.io/crates/directories for m
jira-wip/src/main.rs:63
Function
delete_ticket_test
()
jira-cli/src/store.rs:114
Function
delete_works
()
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:254
Method
deleted_at
(&self)
jira-wip/src/koans/02_ticket_store/08_delete_and_update.rs:155
next →
1–100 of 229, ranked by callers