pub struct WorkspaceDefinition {
pub name: WorkspaceName,
pub capacity: u32,
pub access: WorkspaceAccessPolicy,
pub is_template: bool,
}Expand description
Defines a spatial region as a Workspace.
Fields§
§name: WorkspaceNameHuman-readable workspace identifier.
Replicated verbatim in the wire format. Guaranteed not to exceed
MAX_WORKSPACE_STRING_BYTES bytes (UTF-8) by the WorkspaceName type.
capacity: u32§access: WorkspaceAccessPolicy§is_template: boolTrait Implementations§
Source§impl Clone for WorkspaceDefinition
impl Clone for WorkspaceDefinition
Source§fn clone(&self) -> WorkspaceDefinition
fn clone(&self) -> WorkspaceDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkspaceDefinition
impl Debug for WorkspaceDefinition
Source§impl<'de> Deserialize<'de> for WorkspaceDefinition
impl<'de> Deserialize<'de> for WorkspaceDefinition
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
Auto Trait Implementations§
impl Freeze for WorkspaceDefinition
impl RefUnwindSafe for WorkspaceDefinition
impl Send for WorkspaceDefinition
impl Sync for WorkspaceDefinition
impl Unpin for WorkspaceDefinition
impl UnsafeUnpin for WorkspaceDefinition
impl UnwindSafe for WorkspaceDefinition
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