pub struct Section { /* private fields */ }Expand description
Section:分组资源
Implementations§
Source§impl Section
impl Section
Sourcepub fn create(&self) -> CreateSectionRequest
pub fn create(&self) -> CreateSectionRequest
创建新建请求。
Sourcepub fn get(&self, section_guid: impl Into<String>) -> GetSectionRequest
pub fn get(&self, section_guid: impl Into<String>) -> GetSectionRequest
创建获取详情请求。
Sourcepub fn update(&self, section_guid: impl Into<String>) -> UpdateSectionRequest
pub fn update(&self, section_guid: impl Into<String>) -> UpdateSectionRequest
创建更新请求。
Sourcepub fn delete(&self, section_guid: impl Into<String>) -> DeleteSectionRequest
pub fn delete(&self, section_guid: impl Into<String>) -> DeleteSectionRequest
创建删除请求。
Sourcepub fn list(&self) -> ListSectionsRequest
pub fn list(&self) -> ListSectionsRequest
创建列表请求。
Sourcepub fn tasks(&self, section_guid: impl Into<String>) -> GetSectionTasksRequest
pub fn tasks(&self, section_guid: impl Into<String>) -> GetSectionTasksRequest
创建分组任务列表请求。
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Section
impl !UnwindSafe for Section
impl Freeze for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
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