MCPcopy Create free account

hub / github.com/Bechma/realworld-leptos / functions

Functions101 in github.com/Bechma/realworld-leptos

↓ 22 callersMethodget
(username: String)
src/models/user.rs:108
↓ 17 callersFunctionget_db
()
src/database.rs:23
↓ 12 callersFunctionget_username
()
src/auth/server.rs:98
↓ 9 callersFunctionredirect
(req: Request<axum::body::Body>, next: axum::middleware::Next)
src/auth/server.rs:49
↓ 3 callersMethodset_password
(mut self, password: String)
src/models/user.rs:42
↓ 2 callersFunctioncurrent_user
()
src/auth/api.rs:101
↓ 2 callersFunctiondecode_token
( token: &str, )
src/auth/server.rs:65
↓ 2 callersFunctionencode_token
(token_claims: &TokenClaims)
src/auth/server.rs:76
↓ 2 callersFunctionget_article
(slug: String)
src/routes/article.rs:15
↓ 2 callersFunctionget_user
()
src/routes/settings.rs:67
↓ 2 callersFunctionget_username_from_headers
(headers: &axum::http::HeaderMap)
src/auth/server.rs:86
↓ 2 callersMethodset_email
(mut self, email: String)
src/models/user.rs:72
↓ 2 callersFunctionset_username
(username: String)
src/auth/server.rs:104
↓ 2 callersMethodupdate
(&self)
src/models/user.rs:142
↓ 2 callersMethodusername
(&self)
src/models/user.rs:26
↓ 1 callersFunctioncreate_pool
()
src/database.rs:3
↓ 1 callersFunctionemailRegex
(email)
js/utils.js:22
↓ 1 callersMethodget_amount
(&self)
src/models/pagination.rs:26
↓ 1 callersFunctionget_comments
(slug: String)
src/routes/article.rs:148
↓ 1 callersMethodget_my_feed
(&self)
src/models/pagination.rs:18
↓ 1 callersMethodget_page
(&self)
src/models/pagination.rs:22
↓ 1 callersMethodget_tag
(&self)
src/models/pagination.rs:14
↓ 1 callersFunctionget_tags
()
src/routes/home.rs:26
↓ 1 callersFunctionhome_articles
( page: u32, amount: u32, tag: String, my_feed: bool, )
src/routes/home.rs:8
↓ 1 callersFunctioninit_app
# Panics Will panic if anything is badly setup from database, or web server
src/setup.rs:9
↓ 1 callersFunctioninit_db
()
src/database.rs:19
↓ 1 callersMethodinsert
(&self)
src/models/user.rs:130
↓ 1 callersFunctionprofile_articles
( username: String, favourites: Option<bool>, )
src/routes/profile.rs:10
↓ 1 callersMethodreset_page
(mut self)
src/models/pagination.rs:49
↓ 1 callersMethodset_bio
(mut self, bio: String)
src/models/user.rs:82
↓ 1 callersMethodset_image
(mut self, image: String)
src/models/user.rs:95
↓ 1 callersMethodset_my_feed
(mut self, feed: bool)
src/models/pagination.rs:43
↓ 1 callersMethodset_username
(mut self, username: String)
src/models/user.rs:50
↓ 1 callersFunctionsettings_get
()
src/routes/settings.rs:84
↓ 1 callersFunctionshell
(options: LeptosOptions)
src/app.rs:9
↓ 1 callersFunctiontoggle_fav
(slug: String, username: String)
src/components/buttons.rs:110
↓ 1 callersFunctiontoggle_follow
(current: String, other: String)
src/components/buttons.rs:19
↓ 1 callersFunctionupdate_article
( author: String, slug: String, article: ArticleUpdate, )
src/routes/editor.rs:61
↓ 1 callersFunctionupdate_user_validation
( mut user: crate::models::User, image: String, bio: String, email: String, password: Stri
src/routes/settings.rs:41
↓ 1 callersFunctionuser_profile
(username: String)
src/routes/profile.rs:31
↓ 1 callersFunctionvalidate_article
( title: String, description: String, body: String, tag_list: &str, )
src/routes/editor.rs:27
↓ 1 callersFunctionvalidate_reset
(password: &str, confirm: &str)
src/routes/reset_password.rs:65
↓ 1 callersFunctionvalidate_signup
( username: String, email: String, password: String, )
src/auth/api.rs:11
FunctionApp
()
src/app.rs:30
FunctionArticle
(username: crate::auth::UsernameSignal)
src/routes/article.rs:36
FunctionArticleMeta
( username: crate::auth::UsernameSignal, article: ArticleSignal, is_preview: bool, )
src/components/article_preview.rs:75
FunctionArticleNotFound
()
src/routes/article.rs:75
FunctionArticlePage
(username: crate::auth::UsernameSignal, result: ArticleResult)
src/routes/article.rs:84
FunctionArticlePreview
(username: crate::auth::UsernameSignal, article: ArticleSignal)
src/components/article_preview.rs:44
FunctionArticlePreviewList
( username: crate::auth::UsernameSignal, articles: Resource<Vec<crate::models::Article>>, )
src/components/article_preview.rs:9
FunctionAskForEmail
()
src/routes/reset_password.rs:134
FunctionButtonFav
( username: crate::auth::UsernameSignal, article: super::article_preview::ArticleSignal, )
src/components/buttons.rs:141
FunctionButtonFollow
( logged_user: crate::auth::UsernameSignal, author: ReadSignal<String>, following: bool, )
src/components/buttons.rs:50
FunctionComment
( username: crate::auth::UsernameSignal, comment: RwSignal<crate::models::Comment>, comments: Reso
src/routes/article.rs:229
FunctionCommentSection
( username: crate::auth::UsernameSignal, article: crate::components::ArticleSignal, user: RwSignal
src/routes/article.rs:174
FunctionConfirmPassword
(token: String)
src/routes/reset_password.rs:171
FunctionEditor
()
src/routes/editor.rs:162
FunctionHomePage
(username: crate::auth::UsernameSignal)
src/routes/home.rs:39
FunctionLogin
(login: LoginSignal)
src/routes/login.rs:8
FunctionNavItems
(logout: LogoutSignal, username: UsernameSignal)
src/components/navitems.rs:6
FunctionProfile
(username: crate::auth::UsernameSignal)
src/routes/profile.rs:73
FunctionResetPassword
()
src/routes/reset_password.rs:113
FunctionSettings
(logout: crate::auth::LogoutSignal)
src/routes/settings.rs:89
FunctionSettingsViewForm
(user: crate::models::User)
src/routes/settings.rs:122
FunctionSignup
(signup: SignupSignal)
src/routes/signup.rs:8
FunctionTagList
()
src/routes/home.rs:172
FunctionUserInfo
( logged_user: crate::auth::UsernameSignal, resource: Resource<Result<Option<UserProfileModel>, Server
src/routes/profile.rs:136
Functionauth_middleware
( req: Request<axum::body::Body>, next: axum::middleware::Next, )
src/auth/server.rs:23
Methodbio
(&self)
src/models/user.rs:34
FunctiondecodeJWT
(token)
js/utils.js:8
Methoddefault
()
src/models/pagination.rs:68
Methoddelete
( slug: String, author: String, )
src/models/article.rs:177
Methoddelete
( id: i32, user: String, )
src/models/comment.rs:51
Functiondelete_article
(slug: String)
src/components/article_preview.rs:131
Functiondelete_comment
(id: i32)
src/routes/article.rs:158
Functioneditor_action
( title: String, description: String, body: String, tag_list: String, slug: String, )
src/routes/editor.rs:131
Methodemail
(&self)
src/models/user.rs:30
Functionfav_action
(slug: String)
src/components/buttons.rs:96
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/models/pagination.rs:79
Functionfollow_action
(other_user: String)
src/components/buttons.rs:5
Methodfor_article
(slug: String)
src/models/article.rs:134
Methodfor_home_page
( page: i64, amount: i64, tag: String, my_feed: bool, )
src/models/article.rs:20
Methodfor_user_profile
( username: String, favourites: bool, )
src/models/article.rs:82
Methodget_all
(article: String)
src/models/comment.rs:29
Methodget_email
(email: String)
src/models/user.rs:119
Functionhydrate
()
src/lib.rs:15
Methodimage
(&self)
src/models/user.rs:38
Methodinsert
( article: String, username: String, body: String, )
src/models/comment.rs:13
Functionlogin_action
( username: String, password: String, )
src/auth/api.rs:62
Functionlogout_action
()
src/auth/api.rs:88
Functionmain
()
src/main.rs:5
Methodnext_page
(mut self)
src/models/pagination.rs:55
Functionpost_comment
(slug: String, body: String)
src/routes/article.rs:131
Methodprevious_page
(mut self)
src/models/pagination.rs:61
Functionreset_password_1
(email: String)
src/routes/reset_password.rs:19
Functionreset_password_2
( token: String, password: String, confirm: String, )
src/routes/reset_password.rs:71
Methodset_amount
(mut self, amount: u32)
src/models/pagination.rs:37
Methodset_tag
(mut self, tag: &T)
src/models/pagination.rs:31
Functionsettings_update
( image: String, bio: String, email: String, password: String, confirm_password: String, )
src/routes/settings.rs:15
Functionsignup_action
( username: String, email: String, password: String, )
src/auth/api.rs:24
next →1–100 of 101, ranked by callers