Attribute Macros§
- any_
mapping - api_doc
- delete_
mapping - get_
mapping - idempotency
- 实现幂等性属性的过程宏
- patch_
mapping - post_
mapping - pre_
authorize - properties
- put_
mapping - request_
mapping - retryable
- 实现可重试逻辑的过程宏
- scheduled
- A procedural macro attribute for defining scheduled tasks.
- translation
Derive Macros§
- Builder
- 为结构体实现构建器(Builder)模式
- Desensitized
- Field
Name - 为结构体的每个字段生成对应获取的字段名的方法 (字符串字面量)
- GetSet
- 为结构体自动生成 getter 和 setter 方法。
- Required
Args Constructor - 为结构体实现有参构造函数