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<Monitor>
pub async fn get_subusers_subuser_name_monitor( &self, subuser_name: &str ) -> Result<Monitor>
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<Monitor>
pub async fn put_subusers_subuser_name_monitor( &self, subuser_name: &str, body: &Monitor ) -> Result<Monitor>
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<Monitor>
pub async fn post_subusers_subuser_name_monitor( &self, subuser_name: &str, body: &Monitor ) -> Result<Monitor>
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<Help>
pub async fn delete_subusers_subuser_name_monitor( &self, subuser_name: &str ) -> Result<Help>
Delete monitor settings.
This function performs a DELETE
to the /subusers/{subuser_name}/monitor
endpoint.