pub struct ServiceNodesService { /* private fields */ }Expand description
Operations on the ServiceNodes resource.
Implementations§
Source§impl ServiceNodesService
impl ServiceNodesService
pub async fn list( &self, region_id: i64, service_type: Option<&str>, status: Option<&str>, inactive_hours: Option<i64>, region_cluster_id: Option<i64>, ) -> Result<Vec<ServiceNode>, Error>
pub async fn stats( &self, region_id: i64, node_id: &str, ) -> Result<String, Error>
pub async fn stats_history( &self, region_id: i64, node_id: &str, ) -> Result<StatsHistoryServiceNodeResponse, Error>
Auto Trait Implementations§
impl !RefUnwindSafe for ServiceNodesService
impl !UnwindSafe for ServiceNodesService
impl Freeze for ServiceNodesService
impl Send for ServiceNodesService
impl Sync for ServiceNodesService
impl Unpin for ServiceNodesService
impl UnsafeUnpin for ServiceNodesService
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