DrivesClient#
- pub struct DrivesClient#
Client for drive operations in the Nominal file store.
Implementations#
- impl DrivesClient
- pub async fn create(&self, id: impl Into<String>) -> Result<Drive>#
Create a managed drive in the workspace.
- pub async fn list(&self, include_archived: bool) -> Result<Vec<Drive>>#
List drives in the workspace, collecting all pages eagerly.
- pub async fn rename(&self, rid: &str, new_id: impl Into<String>) -> Result<Drive>#
Change a drive’s ID. Returns the updated drive.
Trait implementations#
Auto traits: Send, Sync, Unpin, !UnwindSafe, !RefUnwindSafe