pub struct FormService { /* private fields */ }Expand description
表单服务
Implementations§
Source§impl FormService
impl FormService
pub fn new(config: Config) -> Self
Sourcepub async fn get(
&self,
request: GetFormRequest,
option: Option<RequestOption>,
) -> SDKResult<BaseResponse<GetFormResponse>>
pub async fn get( &self, request: GetFormRequest, option: Option<RequestOption>, ) -> SDKResult<BaseResponse<GetFormResponse>>
获取表单元数据
Sourcepub async fn list(
&self,
request: ListFormQuestionRequest,
option: Option<RequestOption>,
) -> SDKResult<BaseResponse<ListFormQuestionResponse>>
pub async fn list( &self, request: ListFormQuestionRequest, option: Option<RequestOption>, ) -> SDKResult<BaseResponse<ListFormQuestionResponse>>
列出表单问题
Sourcepub async fn patch(
&self,
request: PatchFormQuestionRequest,
option: Option<RequestOption>,
) -> SDKResult<BaseResponse<PatchFormQuestionResponse>>
pub async fn patch( &self, request: PatchFormQuestionRequest, option: Option<RequestOption>, ) -> SDKResult<BaseResponse<PatchFormQuestionResponse>>
更新表单问题
Sourcepub async fn patch_meta(
&self,
request: PatchFormMetaRequest,
option: Option<RequestOption>,
) -> SDKResult<BaseResponse<PatchFormMetaResponse>>
pub async fn patch_meta( &self, request: PatchFormMetaRequest, option: Option<RequestOption>, ) -> SDKResult<BaseResponse<PatchFormMetaResponse>>
更新表单元数据
Auto Trait Implementations§
impl Freeze for FormService
impl !RefUnwindSafe for FormService
impl Send for FormService
impl Sync for FormService
impl Unpin for FormService
impl !UnwindSafe for FormService
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