MCPcopy Create free account

hub / github.com/cuppar/rtd / functions

Functions96 in github.com/cuppar/rtd

↓ 21 callersMethodto_string
(&self)
src/model.rs:86
↓ 7 callersFunctionget_all
()
src/storage.rs:38
↓ 6 callersFunctionget_item_by_id
(id: u32)
src/storage.rs:46
↓ 5 callersMethodid
methods, which first parameter is `&self(self: &Self)`, `&mut self(self: &mut Self)` or `self(self: Self)` if `id` property is not `pub` we can use me
src/model.rs:49
↓ 4 callersMethodcontent
(&mut self)
src/storage.rs:124
↓ 4 callersFunctionget_all
()
Tutorial/code/05/rtd/src/storage.rs:20
↓ 4 callersFunctionget_all
()
Tutorial/code/04/rtd/src/storage.rs:15
↓ 4 callersMethodto_prettier_string
(&self)
src/model.rs:53
↓ 4 callersFunctionupdate_item
(item: Item)
src/storage.rs:18
↓ 4 callersFunctionupdate_item
()
Tutorial/code/04/rtd/src/storage.rs:9
↓ 3 callersFunctiondefault_list
()
src/main.rs:167
↓ 3 callersFunctiondelete_item
()
Tutorial/code/04/rtd/src/service.rs:15
↓ 3 callersFunctiondestroy_item
(id: u32)
src/service.rs:79
↓ 3 callersFunctionstr_to_timestamp
(s: &str)
src/model.rs:190
↓ 3 callersFunctiontimestamp_to_datetime_string
(timestamp: Option<i64>)
src/model.rs:170
↓ 3 callersFunctiontimestamp_to_raw_string
(timestamp: Option<i64>)
src/model.rs:182
↓ 2 callersFunctiondelete_item
(id: u32)
src/service.rs:43
↓ 2 callersFunctionget_offset_by_id
(id: u32)
src/storage.rs:257
↓ 2 callersMethodsplice
Specify any position in the file to delete the specified byte, and then insert any byte string
src/storage.rs:132
↓ 1 callersFunctionadd_item
(name: &str)
src/service.rs:8
↓ 1 callersFunctionadd_item
(name: &str)
Tutorial/code/05/rtd/src/service.rs:4
↓ 1 callersFunctionadd_item
()
Tutorial/code/04/rtd/src/service.rs:3
↓ 1 callersFunctionclear
()
src/service.rs:84
↓ 1 callersFunctioncomplete_item
(id: u32)
src/service.rs:23
↓ 1 callersFunctiondestroy_deleted
()
src/service.rs:63
↓ 1 callersFunctionget_max_id
It is not an efficient way to find the largest id for all records, but it works while ensuring the simplicity of the tutorial. In actual production pr
src/storage.rs:68
↓ 1 callersFunctionlist_all
()
src/service.rs:144
↓ 1 callersFunctionlist_completed
()
src/service.rs:112
↓ 1 callersFunctionlist_deleted
()
src/service.rs:128
↓ 1 callersFunctionlist_uncompleted
()
src/service.rs:96
↓ 1 callersMethodopen
(path: &Path)
src/storage.rs:113
↓ 1 callersFunctionrestore_item
(id: u32)
src/service.rs:53
↓ 1 callersFunctionuncomplete_item
(id: u32)
src/service.rs:33
Functionadd_item
(item: Item)
src/storage.rs:10
Functionadd_item
(item: Item)
Tutorial/code/05/rtd/src/storage.rs:5
Functionadd_item
()
Tutorial/code/04/rtd/src/storage.rs:5
Functionclear
()
Tutorial/code/05/rtd/src/service.rs:32
Functionclear
()
Tutorial/code/04/rtd/src/service.rs:31
Functioncomplete_item
(id: u32)
Tutorial/code/05/rtd/src/service.rs:8
Functioncomplete_item
()
Tutorial/code/04/rtd/src/service.rs:7
Methodcontent
(&mut self)
Tutorial/code/05/rtd/src/storage.rs:46
Methodcontent
()
Tutorial/code/04/rtd/src/storage.rs:31
Methodcreate
(path: &Path)
src/storage.rs:104
Functioncreate_file
()
src/storage.rs:172
Functiondelete_item
(id: u32)
src/storage.rs:28
Functiondelete_item
(id: u32)
Tutorial/code/05/rtd/src/service.rs:16
Functiondelete_item
(id: u32)
Tutorial/code/05/rtd/src/storage.rs:15
Functiondelete_item
()
Tutorial/code/04/rtd/src/storage.rs:13
Functiondestroy_deleted
()
Tutorial/code/05/rtd/src/service.rs:24
Functiondestroy_deleted
()
Tutorial/code/04/rtd/src/service.rs:23
Functiondestroy_item
(id: u32)
Tutorial/code/05/rtd/src/service.rs:28
Functiondestroy_item
()
Tutorial/code/04/rtd/src/service.rs:27
Methodfilename
()
src/storage.rs:118
Methodfilename
()
Tutorial/code/05/rtd/src/storage.rs:42
Methodfilename
()
Tutorial/code/04/rtd/src/storage.rs:29
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/service.rs:167
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/model.rs:149
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/storage.rs:210
Methodfrom
(value: StorageError)
src/service.rs:176
Methodfrom
(value: ParseIntError)
src/model.rs:155
Methodfrom
(value: VarError)
src/storage.rs:240
Methodfrom_str
(s: &str)
src/model.rs:107
Functionget_item_by_id
(id: u32)
Tutorial/code/05/rtd/src/storage.rs:24
Functionget_item_by_id
()
Tutorial/code/04/rtd/src/storage.rs:17
Functionget_max_id
()
Tutorial/code/05/rtd/src/storage.rs:28
Functionget_max_id
()
Tutorial/code/04/rtd/src/storage.rs:19
Methodid
methods, which first parameter is `&self(self: &Self)`, `&mut self(self: &mut Self)` or `self(self: Self)` if `id` property is not `pub` we can use me
Tutorial/code/05/rtd/src/model.rs:34
Functionlist_all
()
Tutorial/code/05/rtd/src/service.rs:51
Functionlist_all
()
Tutorial/code/04/rtd/src/service.rs:47
Functionlist_completed
()
Tutorial/code/05/rtd/src/service.rs:41
Functionlist_completed
()
Tutorial/code/04/rtd/src/service.rs:39
Functionlist_deleted
()
Tutorial/code/05/rtd/src/service.rs:46
Functionlist_deleted
()
Tutorial/code/04/rtd/src/service.rs:43
Functionlist_uncompleted
()
Tutorial/code/05/rtd/src/service.rs:36
Functionlist_uncompleted
()
Tutorial/code/04/rtd/src/service.rs:35
Functionmain
()
src/main.rs:70
Functionmain
()
Tutorial/code/05/rtd/src/main.rs:4
Functionmain
()
Tutorial/code/03/rtd/src/main.rs:1
Functionmain
()
Tutorial/code/04/rtd/src/main.rs:3
Methodnew
Associated Functions, which first parameter is NOT `&self(self: &Self)`, `&mut self(self: &mut Self)` or `self(self: Self)`
src/model.rs:24
Methodnew
()
src/storage.rs:85
Methodnew
Associated Functions, which first parameter is NOT `&self(self: &Self)`, `&mut self(self: &mut Self)` or `self(self: Self)`
Tutorial/code/05/rtd/src/model.rs:17
Methodnew
()
Tutorial/code/05/rtd/src/storage.rs:38
Methodnew
()
Tutorial/code/04/rtd/src/model.rs:8
Methodnew
()
Tutorial/code/04/rtd/src/storage.rs:27
Functionrestore_item
(id: u32)
Tutorial/code/05/rtd/src/service.rs:20
Functionrestore_item
()
Tutorial/code/04/rtd/src/service.rs:19
Methodsource
(&self)
src/storage.rs:225
Methodsplice
(&mut self, offset: u64, delete_size: u64, write_content: &str)
Tutorial/code/05/rtd/src/storage.rs:50
Methodsplice
()
Tutorial/code/04/rtd/src/storage.rs:33
Functiontitle_line
()
src/storage.rs:178
Methodto_prettier_string
(&self)
Tutorial/code/05/rtd/src/model.rs:38
Methodto_prettier_string
()
Tutorial/code/04/rtd/src/model.rs:12
Functionuncomplete_item
(id: u32)
Tutorial/code/05/rtd/src/service.rs:12
Functionuncomplete_item
()
Tutorial/code/04/rtd/src/service.rs:11
Functionupdate_item
(item: Item)
Tutorial/code/05/rtd/src/storage.rs:10