Drive#
- pub struct Drive#
Represents a drive in the Nominal file store.
A drive is a named container of files within a workspace, similar to a bucket or a shared folder.
Implementations#
- impl Drive
- pub fn rid(&self) -> &str#
- pub fn workspace_rid(&self) -> &str#
- pub fn id(&self) -> &str#
The drive’s human-readable identifier, unique within the workspace.
- pub fn state(&self) -> DriveState#
- pub fn source(&self) -> DriveSource#
Where the drive’s files come from.
- pub fn content_mutability(&self) -> DriveMutability#
Whether the drive’s contents can be modified through Nominal.
- pub fn kind(&self) -> DriveKind#
A compatibility summary of the drive’s storage model.
Prefer
Self::sourceandSelf::content_mutability.
Trait implementations#
Auto traits: Send, Sync, Unpin, UnwindSafe, RefUnwindSafe