pub async fn list(
        &self,
        opts: &ServiceListOptions,
    ) -> Result<ServicesRep> {
        let mut path = vec!["/services".to_owned()];
        if let Some(query) = opts.serialize() {
            path.push(query);
        }

        self.docker.get_json::<ServicesRep>(&path.join("?")).await
    }
/// Lists the docker services on the current docker host
Lists the docker services on the current docker host
Lists the docker services on the current docker host
pub async fn list(
        &self,
        opts: &ServiceListOptions,
    ) -> Result<ServicesRep> {
        let mut path = vec!["/services".to_owned()];
        if let Some(query) = opts.serialize() {
            path.push(query);
        }
        self.docker.get_json::<ServicesRep>(&path.join("?")).await
    }
pub async fn list ( & self , opts : & ServiceListOptions , ) -> Result < ServicesRep > { let mut path = vec ! [ " " to_owned ( ) ] ; if let Some ( query ) = opts . serialize ( ) { path . push ( query ) ; } self . docker . get_json :: < ServicesRep > ( & path . join ( " " ) ) . await }
Lists the docker services on the current docker host
Lists the docker services on the current docker host
&self
opts
&ServiceListOptions
&self
opts
&ServiceListOptions