pub struct CreateSubscriptionRequestBuilder { /* private fields */ }Implementations§
Source§impl CreateSubscriptionRequestBuilder
impl CreateSubscriptionRequestBuilder
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 config(self, config: SubscriptionConfig) -> Self
pub fn config(self, config: SubscriptionConfig) -> Self
设置订阅配置
Sourcepub fn with_notification(self, enable: bool) -> Self
pub fn with_notification(self, enable: bool) -> Self
启用实时通知
Sourcepub fn notification_interval(self, interval: i32) -> Self
pub fn notification_interval(self, interval: i32) -> Self
设置通知频率(秒)
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 auto_renew(self, enable: bool) -> Self
pub fn auto_renew(self, enable: bool) -> Self
启用自动续费
添加多个标签
Sourcepub fn basic_subscription(self) -> Self
pub fn basic_subscription(self) -> Self
快速创建基础订阅
快速创建高级订阅
pub fn build(self) -> CreateSubscriptionRequest
Trait Implementations§
Source§impl Default for CreateSubscriptionRequestBuilder
impl Default for CreateSubscriptionRequestBuilder
Source§fn default() -> CreateSubscriptionRequestBuilder
fn default() -> CreateSubscriptionRequestBuilder
Returns the “default value” for a type. Read more
Source§impl ExecutableBuilder<SubscriptionService, CreateSubscriptionRequest, CreateSubscriptionResponse> for CreateSubscriptionRequestBuilder
impl ExecutableBuilder<SubscriptionService, CreateSubscriptionRequest, CreateSubscriptionResponse> for CreateSubscriptionRequestBuilder
Source§fn build(self) -> CreateSubscriptionRequest
fn build(self) -> CreateSubscriptionRequest
构建请求对象
Source§fn execute<'life0, 'async_trait>(
self,
service: &'life0 SubscriptionService,
) -> Pin<Box<dyn Future<Output = SDKResult<CreateSubscriptionResponse>> + 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<CreateSubscriptionResponse>> + 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<CreateSubscriptionResponse>> + 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<CreateSubscriptionResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
带选项执行请求
Auto Trait Implementations§
impl Freeze for CreateSubscriptionRequestBuilder
impl RefUnwindSafe for CreateSubscriptionRequestBuilder
impl Send for CreateSubscriptionRequestBuilder
impl Sync for CreateSubscriptionRequestBuilder
impl Unpin for CreateSubscriptionRequestBuilder
impl UnwindSafe for CreateSubscriptionRequestBuilder
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