pub enum StorageAction {
Hello,
Create {
workspace: WorkspaceId,
uid: u32,
quota: Quota,
},
Inspect {
workspace: WorkspaceId,
},
Delete {
workspace: WorkspaceId,
uid: u32,
quota: Quota,
},
Grant {
grant: GrantSpec,
},
Revoke {
grant: GrantSpec,
},
GrantStatus {
grant: WorkspaceGrantId,
},
}Variants§
Hello
Create
Inspect
Fields
§
workspace: WorkspaceIdDelete
Grant
Revoke
GrantStatus
Fields
§
grant: WorkspaceGrantIdTrait Implementations§
Source§impl Clone for StorageAction
impl Clone for StorageAction
Source§impl Debug for StorageAction
impl Debug for StorageAction
Source§impl<'de> Deserialize<'de> for StorageAction
impl<'de> Deserialize<'de> for StorageAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StorageAction
Source§impl PartialEq for StorageAction
impl PartialEq for StorageAction
Source§impl Serialize for StorageAction
impl Serialize for StorageAction
impl StructuralPartialEq for StorageAction
Auto Trait Implementations§
impl Forget for StorageAction
impl Freeze for StorageAction
impl Move for StorageAction
impl RefUnwindSafe for StorageAction
impl Send for StorageAction
impl Sync for StorageAction
impl Unpin for StorageAction
impl UnsafeUnpin for StorageAction
impl UnwindSafe for StorageAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more