pub struct SubuserMonitorSettings {
pub client: Client,
}
Fields
client: Client
Implementations
sourceimpl 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.
Auto Trait Implementations
impl !RefUnwindSafe for SubuserMonitorSettings
impl Send for SubuserMonitorSettings
impl Sync for SubuserMonitorSettings
impl Unpin for SubuserMonitorSettings
impl !UnwindSafe for SubuserMonitorSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more