pub struct UpdateSectionRequest { /* private fields */ }Expand description
更新分组请求
Implementations§
Source§impl UpdateSectionRequest
impl UpdateSectionRequest
Sourcepub fn new(
config: Arc<Config>,
tasklist_guid: String,
section_guid: String,
) -> Self
pub fn new( config: Arc<Config>, tasklist_guid: String, section_guid: String, ) -> Self
创建新的请求构建器。
Sourcepub fn description(self, description: impl Into<String>) -> Self
pub fn description(self, description: impl Into<String>) -> Self
设置分组描述
Sourcepub async fn execute(self) -> SDKResult<UpdateSectionResponse>
pub async fn execute(self) -> SDKResult<UpdateSectionResponse>
执行请求
Sourcepub async fn execute_with_options(
self,
option: RequestOption,
) -> SDKResult<UpdateSectionResponse>
pub async fn execute_with_options( self, option: RequestOption, ) -> SDKResult<UpdateSectionResponse>
执行请求(带选项)
Trait Implementations§
Source§impl Clone for UpdateSectionRequest
impl Clone for UpdateSectionRequest
Source§fn clone(&self) -> UpdateSectionRequest
fn clone(&self) -> UpdateSectionRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateSectionRequest
impl !RefUnwindSafe for UpdateSectionRequest
impl Send for UpdateSectionRequest
impl Sync for UpdateSectionRequest
impl Unpin for UpdateSectionRequest
impl UnsafeUnpin for UpdateSectionRequest
impl !UnwindSafe for UpdateSectionRequest
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