Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/daheige/rust-in-action
/ functions
Functions
1,131 in github.com/daheige/rust-in-action
⨍
Functions
1,131
◇
Types & classes
268
↓ 1 callers
Method
with_connect_timeout
(mut self, timeout: Duration)
part8/points-svc/src/infras/xmysql.rs:55
↓ 1 callers
Method
with_dsn
(mut self, dsn: &'a str)
part11/qa-project/crates/infras/src/xredis.rs:33
↓ 1 callers
Method
with_dsn
(mut self, dsn: &'a str)
part7/article-svc/src/infras/xredis.rs:34
↓ 1 callers
Method
with_dsn
(mut self, dsn: &'a str)
part7/redis-demo/src/xredis.rs:33
↓ 1 callers
Method
with_enable_tab_name
(mut self, enable: bool)
part5/gen-table/src/engine.rs:92
↓ 1 callers
Method
with_idle_timeout
(mut self, timeout: Duration)
part8/points-svc/src/infras/xmysql.rs:50
↓ 1 callers
Method
with_max_connections
(mut self, max: u32)
part8/points-svc/src/infras/xmysql.rs:35
↓ 1 callers
Method
with_max_connections
(mut self, max: u32)
part11/qa-project/crates/infras/src/xmysql.rs:35
↓ 1 callers
Method
with_max_connections
(mut self, max: u32)
part7/article-svc/src/infras/xmysql.rs:35
↓ 1 callers
Method
with_max_lifetime
(mut self, lifetime: Duration)
part8/points-svc/src/infras/xmysql.rs:45
↓ 1 callers
Method
with_max_size
(mut self, max: u32)
part7/article-svc/src/infras/xredis.rs:44
↓ 1 callers
Method
with_max_size
(mut self, max: u32)
part7/redis-demo/src/xredis.rs:43
↓ 1 callers
Method
with_min_connections
(mut self, min: u32)
part8/points-svc/src/infras/xmysql.rs:40
↓ 1 callers
Method
with_min_connections
(mut self, min: u32)
part11/qa-project/crates/infras/src/xmysql.rs:40
↓ 1 callers
Method
with_min_connections
(mut self, min: u32)
part7/article-svc/src/infras/xmysql.rs:40
↓ 1 callers
Method
with_min_idle
(mut self, min: u32)
part7/article-svc/src/infras/xredis.rs:49
↓ 1 callers
Method
with_no_null_field
(mut self, no_null_field: bool)
part5/gen-table/src/engine.rs:97
↓ 1 callers
Method
with_serde
(mut self, is_serde: bool)
part5/gen-table/src/engine.rs:102
↓ 1 callers
Method
with_token
(mut self, token: &'a str)
part8/points-svc/src/infras/xpulsar.rs:19
↓ 1 callers
Method
with_token
(mut self, token: &'a str)
part11/qa-project/crates/infras/src/xpulsar.rs:19
↓ 1 callers
Function
write_config
将内容写入文件中,返回值是标准库中的Result
part3/json-config-demo/src/config.rs:13
↓ 1 callers
Function
write_file
将内容写入文件中,返回值是标准库中的Result
part2/file-read-write/src/main.rs:18
↓ 1 callers
Function
write_file
将指定的内容写入文件中,返回值是标准库的Result类型
part2/super-self-demo/src/main.rs:6
↓ 1 callers
Method
x
(&self)
bilibili/generic-demo/src/main.rs:43
Method
AddAnswer
* 添加问题回答 * @param \App\Grpc\Qa\AddAnswerRequest $argument input argument * @param array $metadata metadata * @param array $options call
part11/qa-project/clients/php/App/Grpc/Qa/QAServiceClient.php:177
Method
AddAnswer
(ctx context.Context, in *AddAnswerRequest, opts ...grpc.CallOption)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:185
Method
AddAnswer
添加问题回答
part11/qa-project/clients/go/pb/qa_grpc.pb.go:262
Method
AddAnswer
(context.Context, *AddAnswerRequest)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:311
Method
AddQuestion
* 发表问题 * @param \App\Grpc\Qa\AddQuestionRequest $argument input argument * @param array $metadata metadata * @param array $options call
part11/qa-project/clients/php/App/Grpc/Qa/QAServiceClient.php:87
Method
AddQuestion
(ctx context.Context, in *AddQuestionRequest, opts ...grpc.CallOption)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:125
Method
AddQuestion
发表问题
part11/qa-project/clients/go/pb/qa_grpc.pb.go:250
Method
AddQuestion
(context.Context, *AddQuestionRequest)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:293
Method
AnswerAgree
* 用户点赞回答和取消点赞 * @param \App\Grpc\Qa\AnswerAgreeRequest $argument input argument * @param array $metadata metadata * @param array $optio
part11/qa-project/clients/php/App/Grpc/Qa/QAServiceClient.php:237
Method
AnswerAgree
(ctx context.Context, in *AnswerAgreeRequest, opts ...grpc.CallOption)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:225
Method
AnswerAgree
用户点赞回答和取消点赞
part11/qa-project/clients/go/pb/qa_grpc.pb.go:270
Method
AnswerAgree
(context.Context, *AnswerAgreeRequest)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:323
Method
AnswerDetail
* 查看答案详情 * @param \App\Grpc\Qa\AnswerDetailRequest $argument input argument * @param array $metadata metadata * @param array $options c
part11/qa-project/clients/php/App/Grpc/Qa/QAServiceClient.php:222
Method
AnswerDetail
(ctx context.Context, in *AnswerDetailRequest, opts ...grpc.CallOption)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:215
Method
AnswerDetail
查看答案详情
part11/qa-project/clients/go/pb/qa_grpc.pb.go:268
Method
AnswerDetail
(context.Context, *AnswerDetailRequest)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:320
Method
AnswerList
* 回答列表 * @param \App\Grpc\Qa\AnswerListRequest $argument input argument * @param array $metadata metadata * @param array $options call
part11/qa-project/clients/php/App/Grpc/Qa/QAServiceClient.php:162
Method
AnswerList
(ctx context.Context, in *AnswerListRequest, opts ...grpc.CallOption)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:175
Method
AnswerList
回答列表
part11/qa-project/clients/go/pb/qa_grpc.pb.go:260
Method
AnswerList
(context.Context, *AnswerListRequest)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:308
Method
DeleteAnswer
* 删除问题对应的回答 * @param \App\Grpc\Qa\DeleteAnswerRequest $argument input argument * @param array $metadata metadata * @param array $option
part11/qa-project/clients/php/App/Grpc/Qa/QAServiceClient.php:192
Method
DeleteAnswer
(ctx context.Context, in *DeleteAnswerRequest, opts ...grpc.CallOption)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:195
Method
DeleteAnswer
删除问题对应的回答
part11/qa-project/clients/go/pb/qa_grpc.pb.go:264
Method
DeleteAnswer
(context.Context, *DeleteAnswerRequest)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:314
Method
DeleteQuestion
* 删除问题 * @param \App\Grpc\Qa\DeleteQuestionRequest $argument input argument * @param array $metadata metadata * @param array $options c
part11/qa-project/clients/php/App/Grpc/Qa/QAServiceClient.php:102
Method
DeleteQuestion
(ctx context.Context, in *DeleteQuestionRequest, opts ...grpc.CallOption)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:135
Method
DeleteQuestion
删除问题
part11/qa-project/clients/go/pb/qa_grpc.pb.go:252
Method
DeleteQuestion
(context.Context, *DeleteQuestionRequest)
part11/qa-project/clients/go/pb/qa_grpc.pb.go:296
Method
Descriptor
Deprecated: Use UserLoginRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:59
Method
Descriptor
Deprecated: Use UserLoginReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:111
Method
Descriptor
Deprecated: Use UserLogoutRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:156
Method
Descriptor
Deprecated: Use UserLogoutReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:201
Method
Descriptor
Deprecated: Use UserRegisterRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:247
Method
Descriptor
Deprecated: Use UserRegisterReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:299
Method
Descriptor
Deprecated: Use VerifyTokenRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:345
Method
Descriptor
Deprecated: Use VerifyTokenReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:399
Method
Descriptor
Deprecated: Use AddQuestionRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:460
Method
Descriptor
Deprecated: Use AddQuestionReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:519
Method
Descriptor
Deprecated: Use DeleteQuestionRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:565
Method
Descriptor
Deprecated: Use DeleteQuestionReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:617
Method
Descriptor
Deprecated: Use UpdateQuestionRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:665
Method
Descriptor
Deprecated: Use UpdateQuestionReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:731
Method
Descriptor
Deprecated: Use AnswerEntity.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:781
Method
Descriptor
Deprecated: Use AddAnswerRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:861
Method
Descriptor
Deprecated: Use AddAnswerReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:906
Method
Descriptor
Deprecated: Use DeleteAnswerRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:952
Method
Descriptor
Deprecated: Use DeleteAnswerReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1004
Method
Descriptor
Deprecated: Use UpdateAnswerRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1051
Method
Descriptor
Deprecated: Use UpdateAnswerReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1110
Method
Descriptor
Deprecated: Use AnswerAgreeRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1157
Method
Descriptor
Deprecated: Use AnswerAgreeReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1221
Method
Descriptor
Deprecated: Use QuestionDetailRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1281
Method
Descriptor
Deprecated: Use QuestionDetailReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1333
Method
Descriptor
Deprecated: Use QuestionEntity.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1383
Method
Descriptor
Deprecated: Use LatestQuestionsRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1465
Method
Descriptor
Deprecated: Use LatestQuestionsReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1526
Method
Descriptor
Deprecated: Use AnswerListRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1588
Method
Descriptor
Deprecated: Use AnswerListReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1659
Method
Descriptor
Deprecated: Use AnswerDetailRequest.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1740
Method
Descriptor
Deprecated: Use AnswerDetailReply.ProtoReflect.Descriptor instead.
part11/qa-project/clients/go/pb/qa.pb.go:1792
Method
GetAction
()
part11/qa-project/clients/go/pb/qa.pb.go:1175
Method
GetAgreeCount
()
part11/qa-project/clients/go/pb/qa.pb.go:813
Method
GetAgreeCount
()
part11/qa-project/clients/go/pb/qa.pb.go:1239
Method
GetAnswer
()
part11/qa-project/clients/go/pb/qa.pb.go:865
Method
GetAnswer
()
part11/qa-project/clients/go/pb/qa.pb.go:1796
Method
GetContent
()
part11/qa-project/clients/go/pb/qa.pb.go:471
Method
GetContent
()
part11/qa-project/clients/go/pb/qa.pb.go:683
Method
GetContent
()
part11/qa-project/clients/go/pb/qa.pb.go:799
Method
GetContent
()
part11/qa-project/clients/go/pb/qa.pb.go:1062
Method
GetContent
()
part11/qa-project/clients/go/pb/qa.pb.go:1401
Method
GetCreatedBy
()
part11/qa-project/clients/go/pb/qa.pb.go:478
Method
GetCreatedBy
()
part11/qa-project/clients/go/pb/qa.pb.go:806
Method
GetCreatedBy
()
part11/qa-project/clients/go/pb/qa.pb.go:1168
Method
GetCreatedBy
()
part11/qa-project/clients/go/pb/qa.pb.go:1408
Method
GetCurrentPage
()
part11/qa-project/clients/go/pb/qa.pb.go:1691
Method
GetHasAgreed
()
part11/qa-project/clients/go/pb/qa.pb.go:820
← previous
next →
301–400 of 1,131, ranked by callers