pub struct TaskSelectionConfigResource { /* private fields */ }Expand description
Account task-selection configuration — /api/v3/account/selection.
Implementations§
Source§impl TaskSelectionConfigResource
impl TaskSelectionConfigResource
Sourcepub async fn read(&self) -> Result<AccountSelectionConfiguration, ManagerError>
pub async fn read(&self) -> Result<AccountSelectionConfiguration, ManagerError>
Read the selection configuration.
Sourcepub async fn create(
&self,
body: AccountSelectionConfiguration,
) -> Result<AccountSelectionConfiguration, ManagerError>
pub async fn create( &self, body: AccountSelectionConfiguration, ) -> Result<AccountSelectionConfiguration, ManagerError>
Create the selection configuration.
Sourcepub async fn update(
&self,
body: AccountSelectionConfiguration,
) -> Result<AccountSelectionConfiguration, ManagerError>
pub async fn update( &self, body: AccountSelectionConfiguration, ) -> Result<AccountSelectionConfiguration, ManagerError>
Update the selection configuration.
Sourcepub async fn delete(&self) -> Result<(), ManagerError>
pub async fn delete(&self) -> Result<(), ManagerError>
Delete the selection configuration.
Auto Trait Implementations§
impl !RefUnwindSafe for TaskSelectionConfigResource
impl !UnwindSafe for TaskSelectionConfigResource
impl Freeze for TaskSelectionConfigResource
impl Send for TaskSelectionConfigResource
impl Sync for TaskSelectionConfigResource
impl Unpin for TaskSelectionConfigResource
impl UnsafeUnpin for TaskSelectionConfigResource
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