pub struct WorkspaceInfo {
pub model_id: String,
pub name: String,
pub git_directory_path: Option<String>,
pub email: Option<String>,
pub domain: Option<String>,
}Expand description
Workspace information
Represents a workspace (model) with its metadata and location.
§Example
use data_modelling_core::workspace::WorkspaceInfo;
let workspace = WorkspaceInfo {
model_id: "my-model".to_string(),
name: "My Model".to_string(),
git_directory_path: Some("/path/to/git".to_string()),
email: Some("user@example.com".to_string()),
domain: Some("finance".to_string()),
};Fields§
§model_id: StringUnique identifier for the workspace/model
name: StringDisplay name of the workspace
git_directory_path: Option<String>Path to the Git repository directory (if using Git)
email: Option<String>Email of the workspace owner
domain: Option<String>Domain name within the workspace
Trait Implementations§
Source§impl Clone for WorkspaceInfo
impl Clone for WorkspaceInfo
Source§fn clone(&self) -> WorkspaceInfo
fn clone(&self) -> WorkspaceInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkspaceInfo
impl Debug for WorkspaceInfo
Source§impl Default for WorkspaceInfo
impl Default for WorkspaceInfo
Source§impl<'de> Deserialize<'de> for WorkspaceInfo
impl<'de> Deserialize<'de> for WorkspaceInfo
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
Source§impl PartialEq for WorkspaceInfo
impl PartialEq for WorkspaceInfo
Source§impl Serialize for WorkspaceInfo
impl Serialize for WorkspaceInfo
impl Eq for WorkspaceInfo
impl StructuralPartialEq for WorkspaceInfo
Auto Trait Implementations§
impl Freeze for WorkspaceInfo
impl RefUnwindSafe for WorkspaceInfo
impl Send for WorkspaceInfo
impl Sync for WorkspaceInfo
impl Unpin for WorkspaceInfo
impl UnwindSafe for WorkspaceInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.