```rust
use appwrite::Client;
use appwrite::services::Storage;
use appwrite::permission::Permission;
use appwrite::role::Role;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = Client::new();
client.set_endpoint("https://<REGION>.cloud.appwrite.io/v1"); // Your API Endpoint
client.set_project("<YOUR_PROJECT_ID>"); // Your project ID
client.set_key("<YOUR_API_KEY>"); // Your secret API key
let storage = Storage::new(&client);
let result = storage.create_bucket(
"<BUCKET_ID>",
"<NAME>",
Some(vec![Permission::read(Role::any()).to_string()]), // optional
Some(false), // optional
Some(false), // optional
Some(1), // optional
Some(vec![]), // optional
Some(appwrite::enums::Compression::None), // optional
Some(false), // optional
Some(false), // optional
Some(false) // optional
).await?;
let _ = result;
Ok(())
}
```