pub struct BoardService {
pub whiteboard: WhiteboardService,
/* private fields */
}Expand description
画板服务
Fields§
§whiteboard: WhiteboardServiceImplementations§
Source§impl BoardService
impl BoardService
pub fn new(config: Config) -> Self
使用共享配置(实验性)
Sourcepub async fn list_nodes(
&self,
request: ListWhiteboardNodesRequest,
option: Option<RequestOption>,
) -> SDKResult<BaseResponse<ListWhiteboardNodesResponse>>
pub async fn list_nodes( &self, request: ListWhiteboardNodesRequest, option: Option<RequestOption>, ) -> SDKResult<BaseResponse<ListWhiteboardNodesResponse>>
获取画板所有节点
Trait Implementations§
Source§impl ExecutableBuilder<BoardService, ListWhiteboardNodesRequest, BaseResponse<ListWhiteboardNodesResponse>> for ListWhiteboardNodesRequestBuilder
impl ExecutableBuilder<BoardService, ListWhiteboardNodesRequest, BaseResponse<ListWhiteboardNodesResponse>> for ListWhiteboardNodesRequestBuilder
Source§fn build(self) -> ListWhiteboardNodesRequest
fn build(self) -> ListWhiteboardNodesRequest
构建请求对象
Source§fn execute<'life0, 'async_trait>(
self,
service: &'life0 BoardService,
) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListWhiteboardNodesResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
self,
service: &'life0 BoardService,
) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListWhiteboardNodesResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
执行请求并返回响应
Source§fn execute_with_options<'life0, 'async_trait>(
self,
service: &'life0 BoardService,
option: RequestOption,
) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListWhiteboardNodesResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute_with_options<'life0, 'async_trait>(
self,
service: &'life0 BoardService,
option: RequestOption,
) -> Pin<Box<dyn Future<Output = SDKResult<BaseResponse<ListWhiteboardNodesResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
带选项执行请求
Auto Trait Implementations§
impl Freeze for BoardService
impl !RefUnwindSafe for BoardService
impl Send for BoardService
impl Sync for BoardService
impl Unpin for BoardService
impl !UnwindSafe for BoardService
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