1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// src/tasks/geoprocessing.rs
use Error;
/// Represents a geoprocessing task that executes geospatial operations.
///
/// # Examples
///
/// ```
/// use arcgis_rust::tasks::geoprocessing::GeoprocessingTask;
/// use tokio;
///
/// #[tokio::main]
/// async fn main() {
/// let geoprocessing_task = GeoprocessingTask {
/// url: "https://example.com/arcgis/rest/services/GP/Service".to_string(),
/// };
///
/// match geoprocessing_task.execute("parameters").await {
/// Ok(result) => println!("Geoprocessing result: {}", result),
/// Err(e) => println!("Error: {}", e),
/// }
/// }
/// ```