pub struct Workspace {Show 18 fields
pub loaded_file_path: Option<PathBuf>,
pub cached_data_path: Option<PathBuf>,
pub active_columns: Vec<String>,
pub filters: HashMap<String, String>,
pub analysis_parameters: HashMap<String, String>,
pub column_datatypes: HashMap<String, String>,
pub ids_are_continuous: bool,
pub analyzer: Option<DataFrameAnalyzer>,
pub ranked_data: Option<DataFrame>,
pub anomaly_results: Option<DataFrame>,
pub clustering_results: Option<DataFrame>,
pub descriptive_statistics_results: Option<DataFrame>,
pub histogram_results: Option<DataFrame>,
pub null_analysis_results: Option<DataFrame>,
pub value_counts_results: Option<DataFrame>,
pub filter_results: Option<DataFrame>,
pub bar_chart_results: Option<DataFrame>,
pub correlation_matrix_results: Option<DataFrame>,
}Fields§
§loaded_file_path: Option<PathBuf>§cached_data_path: Option<PathBuf>§active_columns: Vec<String>§filters: HashMap<String, String>§analysis_parameters: HashMap<String, String>§column_datatypes: HashMap<String, String>§ids_are_continuous: bool§analyzer: Option<DataFrameAnalyzer>§ranked_data: Option<DataFrame>§anomaly_results: Option<DataFrame>§clustering_results: Option<DataFrame>§descriptive_statistics_results: Option<DataFrame>§histogram_results: Option<DataFrame>§null_analysis_results: Option<DataFrame>§value_counts_results: Option<DataFrame>§filter_results: Option<DataFrame>§bar_chart_results: Option<DataFrame>§correlation_matrix_results: Option<DataFrame>Implementations§
Source§impl Workspace
impl Workspace
pub fn new() -> Self
pub fn set_loaded_file_path(&mut self, path: PathBuf)
pub fn add_active_column(&mut self, column: String)
pub fn remove_active_column(&mut self, column: &str)
pub fn add_filter(&mut self, column: String, expression: String)
pub fn remove_filter(&mut self, column: &str)
pub fn set_analysis_parameter(&mut self, key: String, value: String)
pub fn get_analysis_parameter(&self, key: &str) -> Option<&String>
pub async fn save_to_file(&mut self, path: &Path) -> Result<()>
pub async fn load_from_file(path: &Path) -> Result<Self>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Workspace
impl<'de> Deserialize<'de> for Workspace
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 Workspace
impl !RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl !UnwindSafe for Workspace
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more