1414/// match apptype {
1515/// AppType::Canvas => { /* ... */ },
1616/// AppType::CodeEditor => { /* ... */ },
17- /// AppType::DatasetManager => { /* ... */ },
1817/// AppType::DetailedProfiler => { /* ... */ },
1918/// AppType::JupyterLab => { /* ... */ },
2019/// AppType::JupyterServer => { /* ... */ },
2120/// AppType::KernelGateway => { /* ... */ },
22- /// AppType::Local => { /* ... */ },
23- /// AppType::RSession => { /* ... */ },
2421/// AppType::RSessionGateway => { /* ... */ },
2522/// AppType::RStudioServerPro => { /* ... */ },
26- /// AppType::SageMakerLite => { /* ... */ },
27- /// AppType::Savitur => { /* ... */ },
2823/// AppType::TensorBoard => { /* ... */ },
29- /// AppType::VsCode => { /* ... */ },
3024/// other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ },
3125/// _ => { /* ... */ },
3226/// }
@@ -59,8 +53,6 @@ pub enum AppType {
5953 #[ allow( missing_docs) ] // documentation missing in model
6054 CodeEditor ,
6155 #[ allow( missing_docs) ] // documentation missing in model
62- DatasetManager ,
63- #[ allow( missing_docs) ] // documentation missing in model
6456 DetailedProfiler ,
6557 #[ allow( missing_docs) ] // documentation missing in model
6658 JupyterLab ,
@@ -69,21 +61,11 @@ pub enum AppType {
6961 #[ allow( missing_docs) ] // documentation missing in model
7062 KernelGateway ,
7163 #[ allow( missing_docs) ] // documentation missing in model
72- Local ,
73- #[ allow( missing_docs) ] // documentation missing in model
74- RSession ,
75- #[ allow( missing_docs) ] // documentation missing in model
7664 RSessionGateway ,
7765 #[ allow( missing_docs) ] // documentation missing in model
7866 RStudioServerPro ,
7967 #[ allow( missing_docs) ] // documentation missing in model
80- SageMakerLite ,
81- #[ allow( missing_docs) ] // documentation missing in model
82- Savitur ,
83- #[ allow( missing_docs) ] // documentation missing in model
8468 TensorBoard ,
85- #[ allow( missing_docs) ] // documentation missing in model
86- VsCode ,
8769 /// `Unknown` contains new variants that have been added since this code was generated.
8870 #[ deprecated( note = "Don't directly match on `Unknown`. See the docs on this enum for the correct way to handle unknown variants." ) ]
8971 Unknown ( crate :: primitives:: sealed_enum_unknown:: UnknownVariantValue ) ,
@@ -93,19 +75,13 @@ impl ::std::convert::From<&str> for AppType {
9375 match s {
9476 "Canvas" => AppType :: Canvas ,
9577 "CodeEditor" => AppType :: CodeEditor ,
96- "DatasetManager" => AppType :: DatasetManager ,
9778 "DetailedProfiler" => AppType :: DetailedProfiler ,
9879 "JupyterLab" => AppType :: JupyterLab ,
9980 "JupyterServer" => AppType :: JupyterServer ,
10081 "KernelGateway" => AppType :: KernelGateway ,
101- "Local" => AppType :: Local ,
102- "RSession" => AppType :: RSession ,
10382 "RSessionGateway" => AppType :: RSessionGateway ,
10483 "RStudioServerPro" => AppType :: RStudioServerPro ,
105- "SageMakerLite" => AppType :: SageMakerLite ,
106- "Savitur" => AppType :: Savitur ,
10784 "TensorBoard" => AppType :: TensorBoard ,
108- "VSCode" => AppType :: VsCode ,
10985 other => AppType :: Unknown ( crate :: primitives:: sealed_enum_unknown:: UnknownVariantValue ( other. to_owned ( ) ) ) ,
11086 }
11187 }
@@ -123,19 +99,13 @@ impl AppType {
12399 match self {
124100 AppType :: Canvas => "Canvas" ,
125101 AppType :: CodeEditor => "CodeEditor" ,
126- AppType :: DatasetManager => "DatasetManager" ,
127102 AppType :: DetailedProfiler => "DetailedProfiler" ,
128103 AppType :: JupyterLab => "JupyterLab" ,
129104 AppType :: JupyterServer => "JupyterServer" ,
130105 AppType :: KernelGateway => "KernelGateway" ,
131- AppType :: Local => "Local" ,
132- AppType :: RSession => "RSession" ,
133106 AppType :: RSessionGateway => "RSessionGateway" ,
134107 AppType :: RStudioServerPro => "RStudioServerPro" ,
135- AppType :: SageMakerLite => "SageMakerLite" ,
136- AppType :: Savitur => "Savitur" ,
137108 AppType :: TensorBoard => "TensorBoard" ,
138- AppType :: VsCode => "VSCode" ,
139109 AppType :: Unknown ( value) => value. as_str ( ) ,
140110 }
141111 }
@@ -144,19 +114,13 @@ impl AppType {
144114 & [
145115 "Canvas" ,
146116 "CodeEditor" ,
147- "DatasetManager" ,
148117 "DetailedProfiler" ,
149118 "JupyterLab" ,
150119 "JupyterServer" ,
151120 "KernelGateway" ,
152- "Local" ,
153- "RSession" ,
154121 "RSessionGateway" ,
155122 "RStudioServerPro" ,
156- "SageMakerLite" ,
157- "Savitur" ,
158123 "TensorBoard" ,
159- "VSCode" ,
160124 ]
161125 }
162126}
0 commit comments