use edc_connector_client::{Auth, EdcConnectorClient}; #[tokio::main] async fn main() -> Result<(), Box> { let client = EdcConnectorClient::builder() .management_url("http://myedc") .with_auth(Auth::api_token("password")) .build()?; let asset = client.assets().get("1").await?; println!("Got {:?}", asset); println!( "Property description: {:?}", asset.property::("description").unwrap() ); Ok(()) }