pub struct GetFileSubscriptionRequest {
pub file_token: String,
pub subscription_id: String,
}Expand description
查询云文档事件订阅状态请求参数
Fields§
§file_token: String文件token
subscription_id: String订阅ID
Implementations§
Trait Implementations§
Source§impl Clone for GetFileSubscriptionRequest
impl Clone for GetFileSubscriptionRequest
Source§fn clone(&self) -> GetFileSubscriptionRequest
fn clone(&self) -> GetFileSubscriptionRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 GetFileSubscriptionRequest
impl Debug for GetFileSubscriptionRequest
Source§impl Default for GetFileSubscriptionRequest
impl Default for GetFileSubscriptionRequest
Source§fn default() -> GetFileSubscriptionRequest
fn default() -> GetFileSubscriptionRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetFileSubscriptionRequest
impl<'de> Deserialize<'de> for GetFileSubscriptionRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ExecutableBuilder<EventService, GetFileSubscriptionRequest, BaseResponse<GetFileSubscriptionRespData>> for GetFileSubscriptionRequestBuilder
impl ExecutableBuilder<EventService, GetFileSubscriptionRequest, BaseResponse<GetFileSubscriptionRespData>> for GetFileSubscriptionRequestBuilder
Source§fn build(self) -> GetFileSubscriptionRequest
fn build(self) -> GetFileSubscriptionRequest
构建请求对象
Source§fn execute<'life0, 'async_trait>(
self,
service: &'life0 EventService,
) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetFileSubscriptionRespData>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
self,
service: &'life0 EventService,
) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetFileSubscriptionRespData>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
执行请求并返回响应
Source§fn execute_with_options<'life0, 'async_trait>(
self,
service: &'life0 EventService,
option: RequestOption,
) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetFileSubscriptionRespData>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_with_options<'life0, 'async_trait>(
self,
service: &'life0 EventService,
option: RequestOption,
) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<GetFileSubscriptionRespData>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
带选项执行请求
Auto Trait Implementations§
impl Freeze for GetFileSubscriptionRequest
impl RefUnwindSafe for GetFileSubscriptionRequest
impl Send for GetFileSubscriptionRequest
impl Sync for GetFileSubscriptionRequest
impl Unpin for GetFileSubscriptionRequest
impl UnwindSafe for GetFileSubscriptionRequest
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