pub struct SubuserMonitorSettings {
pub client: Client,
}
Fields§
§client: Client
Implementations§
Source§impl SubuserMonitorSettings
impl SubuserMonitorSettings
Sourcepub async fn get_subusers_subuser_name_monitor(
&self,
subuser_name: &str,
) -> Result<Response<Monitor>, ClientError>
pub async fn get_subusers_subuser_name_monitor( &self, subuser_name: &str, ) -> Result<Response<Monitor>, ClientError>
Retrieve monitor settings for a subuser.
This function performs a GET
to the /subusers/{subuser_name}/monitor
endpoint.
Sourcepub async fn put_subusers_subuser_name_monitor(
&self,
subuser_name: &str,
body: &Monitor,
) -> Result<Response<Monitor>, ClientError>
pub async fn put_subusers_subuser_name_monitor( &self, subuser_name: &str, body: &Monitor, ) -> Result<Response<Monitor>, ClientError>
Update Monitor Settings for a subuser.
This function performs a PUT
to the /subusers/{subuser_name}/monitor
endpoint.
Sourcepub async fn post_subusers_subuser_name_monitor(
&self,
subuser_name: &str,
body: &Monitor,
) -> Result<Response<Monitor>, ClientError>
pub async fn post_subusers_subuser_name_monitor( &self, subuser_name: &str, body: &Monitor, ) -> Result<Response<Monitor>, ClientError>
Create monitor settings.
This function performs a POST
to the /subusers/{subuser_name}/monitor
endpoint.
Sourcepub async fn delete_subusers_subuser_name_monitor(
&self,
subuser_name: &str,
) -> Result<Response<Help>, ClientError>
pub async fn delete_subusers_subuser_name_monitor( &self, subuser_name: &str, ) -> Result<Response<Help>, ClientError>
Delete monitor settings.
This function performs a DELETE
to the /subusers/{subuser_name}/monitor
endpoint.
Auto Trait Implementations§
impl Freeze for SubuserMonitorSettings
impl !RefUnwindSafe for SubuserMonitorSettings
impl Send for SubuserMonitorSettings
impl Sync for SubuserMonitorSettings
impl Unpin for SubuserMonitorSettings
impl !UnwindSafe for SubuserMonitorSettings
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