QueryParams

Struct QueryParams 

Source
pub struct QueryParams;
Expand description

飞书API查询参数常量定义

提供所有常用查询参数的静态字符串常量,避免运行时字符串分配开销。 按功能分组组织,便于查找和维护。

Implementations§

Source§

impl QueryParams

Source

pub const PAGE_SIZE: &'static str = "page_size"

分页大小参数 - 指定每页返回的项目数量

Source

pub const PAGE_TOKEN: &'static str = "page_token"

分页令牌参数 - 用于获取下一页数据的令牌

Source

pub const PAGE: &'static str = "page"

页码参数 - 指定要获取的页面编号(某些API使用)

Source

pub const OFFSET: &'static str = "offset"

偏移量参数 - 指定从第几条记录开始返回

Source

pub const LIMIT: &'static str = "limit"

限制参数 - 限制返回的最大记录数

Source

pub const START_TIME: &'static str = "start_time"

开始时间参数 - 查询范围的起始时间

Source

pub const END_TIME: &'static str = "end_time"

结束时间参数 - 查询范围的结束时间

Source

pub const CREATE_TIME_START: &'static str = "create_time_start"

创建时间开始

Source

pub const CREATE_TIME_END: &'static str = "create_time_end"

创建时间结束

Source

pub const UPDATE_TIME_START: &'static str = "update_time_start"

更新时间开始

Source

pub const UPDATE_TIME_END: &'static str = "update_time_end"

更新时间结束

Source

pub const USER_ID: &'static str = "user_id"

用户ID参数 - 指定目标用户的唯一标识

Source

pub const USER_ID_TYPE: &'static str = "user_id_type"

用户ID类型参数 - 指定用户ID的类型格式

Source

pub const DEPARTMENT_ID: &'static str = "department_id"

部门ID参数 - 指定目标部门的唯一标识

Source

pub const DEPARTMENT_ID_TYPE: &'static str = "department_id_type"

部门ID类型参数 - 指定部门ID的类型格式

Source

pub const ORG_ID: &'static str = "org_id"

组织ID参数 - 指定组织的唯一标识

Source

pub const EMPLOYEE_ID: &'static str = "employee_id"

员工ID参数 - 指定员工的唯一标识

Source

pub const STATUS: &'static str = "status"

状态参数 - 指定资源的状态筛选条件

Source

pub const TYPE: &'static str = "type"

类型参数 - 指定资源的类型筛选条件

Source

pub const RULE_TYPE: &'static str = "rule_type"

规则类型参数 - 指定规则的类型

Source

pub const ACCESS_TYPE: &'static str = "access_type"

访问类型参数 - 指定访问的类型

Source

pub const SORT: &'static str = "sort"

排序参数 - 指定结果的排序方式

Source

pub const ORDER: &'static str = "order"

排序顺序参数 - 指定排序的方向(asc/desc)

Source

pub const QUERY: &'static str = "query"

查询关键词参数 - 用于搜索的关键词

Source

pub const KEYWORD: &'static str = "keyword"

搜索关键词参数 - 另一种搜索关键词字段名

Source

pub const NAME: &'static str = "name"

名称参数 - 按名称筛选

Source

pub const TITLE: &'static str = "title"

标题参数 - 按标题筛选

Source

pub const LANGUAGE: &'static str = "language"

语言参数 - 指定语言偏好

Source

pub const LOCALE: &'static str = "locale"

地区参数 - 指定地区设置

Source

pub const MEETING_ID: &'static str = "meeting_id"

会议ID参数 - 会议的唯一标识

Source

pub const ROOM_ID: &'static str = "room_id"

房间ID参数 - 会议室的唯一标识

Source

pub const RECORDING_ID: &'static str = "recording_id"

录制ID参数 - 录制文件的唯一标识

Source

pub const CUSTOM_WORKPLACE_ID: &'static str = "custom_workplace_id"

自定义工作台ID参数

Source

pub const WIDGET_ID: &'static str = "widget_id"

小部件ID参数

Source

pub const APP_ID: &'static str = "app_id"

应用ID参数

Source

pub const INCOME_TYPE: &'static str = "income_type"

收入类型参数

Source

pub const START_DATE: &'static str = "start_date"

开始日期参数

Source

pub const END_DATE: &'static str = "end_date"

结束日期参数

Source

pub const FILE_ID: &'static str = "file_id"

文件ID参数 - 文件的唯一标识

Source

pub const DOC_ID: &'static str = "doc_id"

文档ID参数 - 文档的唯一标识

Source

pub const FOLDER_ID: &'static str = "folder_id"

文件夹ID参数 - 文件夹的唯一标识

Source

pub const FILE_TYPE: &'static str = "file_type"

文件类型参数 - 文件类型筛选

Source

pub const MESSAGE_ID: &'static str = "message_id"

消息ID参数 - 消息的唯一标识

Source

pub const CHAT_ID: &'static str = "chat_id"

聊天ID参数 - 聊天会话的唯一标识

Source

pub const CHANNEL_ID: &'static str = "channel_id"

频道ID参数 - 频道的唯一标识

Source

pub const DEVICE_ID: &'static str = "device_id"

设备ID参数 - 设备的唯一标识

Source

pub const ACCESS_METHOD: &'static str = "access_method"

访问方法参数 - 访问方式筛选

Source

pub const RESULT: &'static str = "result"

结果参数 - 访问结果筛选

Source

pub const BADGE_ID: &'static str = "badge_id"

勋章ID参数 - 勋章的唯一标识

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,