pub struct WorkspaceGrant {
pub slot: String,
pub usable_bytes: u64,
}Expand description
A workspace given at consent: the slot and its usable size (Step 3b-3;
always null in 3b-2).
Fields§
§slot: StringThe slot’s name.
usable_bytes: u64The usable size, in bytes.
Trait Implementations§
Source§impl Clone for WorkspaceGrant
impl Clone for WorkspaceGrant
Source§impl Debug for WorkspaceGrant
impl Debug for WorkspaceGrant
Source§impl<'de> Deserialize<'de> for WorkspaceGrant
impl<'de> Deserialize<'de> for WorkspaceGrant
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 WorkspaceGrant
Source§impl Hash for WorkspaceGrant
impl Hash for WorkspaceGrant
Source§impl PartialEq for WorkspaceGrant
impl PartialEq for WorkspaceGrant
Source§impl Serialize for WorkspaceGrant
impl Serialize for WorkspaceGrant
impl StructuralPartialEq for WorkspaceGrant
Auto Trait Implementations§
impl Forget for WorkspaceGrant
impl Freeze for WorkspaceGrant
impl Move for WorkspaceGrant
impl RefUnwindSafe for WorkspaceGrant
impl Send for WorkspaceGrantwhere
RawVecInner: Send,
impl Sync for WorkspaceGrantwhere
RawVecInner: Sync,
impl Unpin for WorkspaceGrant
impl UnsafeUnpin for WorkspaceGrant
impl UnwindSafe for WorkspaceGrantwhere
RawVecInner: UnwindSafe,
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