pub enum SheetsApiV3 {
Show 27 variants
CreateSpreadsheet,
GetSpreadsheet(String),
PatchSpreadsheet(String),
QuerySheets(String),
GetSheet(String, String),
MoveDimension(String, String),
FindCells(String, String),
ReplaceCells(String, String),
CreateFilter(String, String),
UpdateFilter(String, String),
GetFilter(String, String),
DeleteFilter(String, String),
CreateFilterView(String, String),
QueryFilterViews(String, String),
GetFilterView(String, String, String),
PatchFilterView(String, String, String),
DeleteFilterView(String, String, String),
CreateFilterCondition(String, String, String),
QueryFilterConditions(String, String, String),
GetFilterCondition(String, String, String, String),
UpdateFilterCondition(String, String, String, String),
DeleteFilterCondition(String, String, String, String),
CreateFloatImage(String, String),
QueryFloatImages(String, String),
GetFloatImage(String, String, String),
PatchFloatImage(String, String, String),
DeleteFloatImage(String, String, String),
}Expand description
Sheets API v3 端点枚举 对应 meta.project = sheets, meta.version = v3
Variants§
CreateSpreadsheet
创建电子表格
GetSpreadsheet(String)
获取电子表格信息
PatchSpreadsheet(String)
修改电子表格属性
QuerySheets(String)
获取工作表列表
GetSheet(String, String)
查询工作表
MoveDimension(String, String)
移动行列
FindCells(String, String)
查找单元格
ReplaceCells(String, String)
替换单元格
CreateFilter(String, String)
创建筛选
UpdateFilter(String, String)
更新筛选
GetFilter(String, String)
获取筛选
DeleteFilter(String, String)
删除筛选
CreateFilterView(String, String)
创建筛选视图
QueryFilterViews(String, String)
查询筛选视图
GetFilterView(String, String, String)
获取筛选视图
PatchFilterView(String, String, String)
更新筛选视图
DeleteFilterView(String, String, String)
删除筛选视图
CreateFilterCondition(String, String, String)
创建筛选条件
QueryFilterConditions(String, String, String)
查询筛选条件
GetFilterCondition(String, String, String, String)
获取筛选条件
UpdateFilterCondition(String, String, String, String)
更新筛选条件
DeleteFilterCondition(String, String, String, String)
删除筛选条件
CreateFloatImage(String, String)
创建浮动图片
QueryFloatImages(String, String)
查询浮动图片
GetFloatImage(String, String, String)
获取浮动图片
PatchFloatImage(String, String, String)
更新浮动图片
DeleteFloatImage(String, String, String)
删除浮动图片
Implementations§
Source§impl SheetsApiV3
impl SheetsApiV3
Sourcepub fn to_request<R>(&self) -> ApiRequest<R>
pub fn to_request<R>(&self) -> ApiRequest<R>
返回配置了稳定请求语义的请求。
Trait Implementations§
Source§impl CatalogEndpoint for SheetsApiV3
impl CatalogEndpoint for SheetsApiV3
Source§fn method(&self) -> HttpMethod
fn method(&self) -> HttpMethod
返回 HTTP 方法。
Source§fn supported_access_token_types(&self) -> Option<Vec<AccessTokenType>>
fn supported_access_token_types(&self) -> Option<Vec<AccessTokenType>>
稳定的访问令牌要求。
Docs 域的绝大多数端点都同时接受 User 和 Tenant token(#424 系列)。
Source§fn to_request<R>(&self) -> ApiRequest<R>
fn to_request<R>(&self) -> ApiRequest<R>
构建带正确方法的请求。
Source§fn to_request_with_url<R>(&self, url: impl Into<String>) -> ApiRequest<R>
fn to_request_with_url<R>(&self, url: impl Into<String>) -> ApiRequest<R>
使用调用方补充了动态 query 的 URL 构建请求,同时保留 catalog 的 method/auth 语义。
Source§impl Clone for SheetsApiV3
impl Clone for SheetsApiV3
Source§fn clone(&self) -> SheetsApiV3
fn clone(&self) -> SheetsApiV3
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SheetsApiV3
impl Debug for SheetsApiV3
Source§impl PartialEq for SheetsApiV3
impl PartialEq for SheetsApiV3
impl StructuralPartialEq for SheetsApiV3
Auto Trait Implementations§
impl Freeze for SheetsApiV3
impl RefUnwindSafe for SheetsApiV3
impl Send for SheetsApiV3
impl Sync for SheetsApiV3
impl Unpin for SheetsApiV3
impl UnsafeUnpin for SheetsApiV3
impl UnwindSafe for SheetsApiV3
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more