pub struct PatchSubscriptionRequestBuilder { /* private fields */ }Implementations§
Source§impl PatchSubscriptionRequestBuilder
impl PatchSubscriptionRequestBuilder
Sourcepub fn file_token(self, token: impl ToString) -> Self
pub fn file_token(self, token: impl ToString) -> Self
文档token
Sourcepub fn as_bitable(self) -> Self
pub fn as_bitable(self) -> Self
设置为多维表格
Sourcepub fn status(self, status: SubscriptionStatus) -> Self
pub fn status(self, status: SubscriptionStatus) -> Self
设置订阅状态
Sourcepub fn config(self, config: SubscriptionConfig) -> Self
pub fn config(self, config: SubscriptionConfig) -> Self
设置订阅配置
Sourcepub fn notification(self, enable: bool) -> Self
pub fn notification(self, enable: bool) -> Self
启用/禁用实时通知
Sourcepub fn notification_interval(self, interval: i32) -> Self
pub fn notification_interval(self, interval: i32) -> Self
设置通知频率(秒)
Sourcepub fn quick_notification(self) -> Self
pub fn quick_notification(self) -> Self
设置快速通知(每5分钟)
Sourcepub fn standard_notification(self) -> Self
pub fn standard_notification(self) -> Self
设置标准通知(每小时)
Sourcepub fn slow_notification(self) -> Self
pub fn slow_notification(self) -> Self
设置慢速通知(每6小时)
Sourcepub fn priority(self, priority: SubscriptionPriority) -> Self
pub fn priority(self, priority: SubscriptionPriority) -> Self
设置订阅优先级
Sourcepub fn high_priority(self) -> Self
pub fn high_priority(self) -> Self
设置为高优先级
Sourcepub fn low_priority(self) -> Self
pub fn low_priority(self) -> Self
设置为低优先级
Sourcepub fn urgent_priority(self) -> Self
pub fn urgent_priority(self) -> Self
设置为紧急优先级
Sourcepub fn auto_renew(self, enable: bool) -> Self
pub fn auto_renew(self, enable: bool) -> Self
启用/禁用自动续费
Sourcepub fn remove_tag(self, tag: impl ToString) -> Self
pub fn remove_tag(self, tag: impl ToString) -> Self
移除标签
清空所有标签
Sourcepub fn safe_pause(self) -> Self
pub fn safe_pause(self) -> Self
批量暂停订阅(安全模式)
Sourcepub fn quick_activate(self) -> Self
pub fn quick_activate(self) -> Self
批量激活订阅(快速模式)
Sourcepub fn eco_activate(self) -> Self
pub fn eco_activate(self) -> Self
批量激活订阅(节能模式)
Sourcepub fn get_changes(&self) -> Vec<String>
pub fn get_changes(&self) -> Vec<String>
获取更改摘要
Sourcepub fn changes_summary(&self) -> String
pub fn changes_summary(&self) -> String
获取更改摘要字符串
pub fn build(self) -> PatchSubscriptionRequest
Trait Implementations§
Source§impl Default for PatchSubscriptionRequestBuilder
impl Default for PatchSubscriptionRequestBuilder
Source§fn default() -> PatchSubscriptionRequestBuilder
fn default() -> PatchSubscriptionRequestBuilder
Returns the “default value” for a type. Read more
Source§impl ExecutableBuilder<SubscriptionService, PatchSubscriptionRequest, PatchSubscriptionResponse> for PatchSubscriptionRequestBuilder
impl ExecutableBuilder<SubscriptionService, PatchSubscriptionRequest, PatchSubscriptionResponse> for PatchSubscriptionRequestBuilder
Source§fn build(self) -> PatchSubscriptionRequest
fn build(self) -> PatchSubscriptionRequest
构建请求对象
Source§fn execute<'life0, 'async_trait>(
self,
service: &'life0 SubscriptionService,
) -> Pin<Box<dyn Future<Output = SDKResult<PatchSubscriptionResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
self,
service: &'life0 SubscriptionService,
) -> Pin<Box<dyn Future<Output = SDKResult<PatchSubscriptionResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
执行请求并返回响应
Source§fn execute_with_options<'life0, 'async_trait>(
self,
service: &'life0 SubscriptionService,
option: RequestOption,
) -> Pin<Box<dyn Future<Output = SDKResult<PatchSubscriptionResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_with_options<'life0, 'async_trait>(
self,
service: &'life0 SubscriptionService,
option: RequestOption,
) -> Pin<Box<dyn Future<Output = SDKResult<PatchSubscriptionResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
带选项执行请求
Auto Trait Implementations§
impl Freeze for PatchSubscriptionRequestBuilder
impl RefUnwindSafe for PatchSubscriptionRequestBuilder
impl Send for PatchSubscriptionRequestBuilder
impl Sync for PatchSubscriptionRequestBuilder
impl Unpin for PatchSubscriptionRequestBuilder
impl UnwindSafe for PatchSubscriptionRequestBuilder
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