pub struct WorkspaceRecord {
pub id: WorkspaceId,
pub name: String,
pub manifest_hash: String,
pub config_path: Option<NativePath>,
pub repositories: Vec<RepositoryRecord>,
}Expand description
Fully validated registry input for one workspace.
Fields§
§id: WorkspaceIdStable workspace identity.
name: StringUser-facing workspace name.
manifest_hash: StringFingerprint of the exact manifest content.
config_path: Option<NativePath>Canonical lossless workspace manifest path.
repositories: Vec<RepositoryRecord>Repositories sorted by alias.
Trait Implementations§
Source§impl Clone for WorkspaceRecord
impl Clone for WorkspaceRecord
Source§fn clone(&self) -> WorkspaceRecord
fn clone(&self) -> WorkspaceRecord
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 WorkspaceRecord
impl Debug for WorkspaceRecord
Source§impl<'de> Deserialize<'de> for WorkspaceRecord
impl<'de> Deserialize<'de> for WorkspaceRecord
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 WorkspaceRecord
Source§impl JsonSchema for WorkspaceRecord
impl JsonSchema for WorkspaceRecord
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for WorkspaceRecord
impl PartialEq for WorkspaceRecord
Source§impl Serialize for WorkspaceRecord
impl Serialize for WorkspaceRecord
impl StructuralPartialEq for WorkspaceRecord
Auto Trait Implementations§
impl Freeze for WorkspaceRecord
impl RefUnwindSafe for WorkspaceRecord
impl Send for WorkspaceRecord
impl Sync for WorkspaceRecord
impl Unpin for WorkspaceRecord
impl UnsafeUnpin for WorkspaceRecord
impl UnwindSafe for WorkspaceRecord
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