pub struct AppConfig {Show 30 fields
pub components: Vec<ComponentMeta>,
pub dependencies: Vec<Dependency>,
pub mode: String,
pub root: String,
pub theme: String,
pub title: String,
pub version: String,
pub protocol: String,
pub layout: Value,
pub auth_message: Option<String>,
pub css: Option<String>,
pub js: Option<String>,
pub head: Option<String>,
pub root_url: Option<String>,
pub space_id: Option<String>,
pub stylesheets: Vec<String>,
pub path: Option<String>,
pub theme_hash: Option<StringOrI64>,
pub username: Option<String>,
pub max_file_size: Option<i64>,
pub api_prefix: Option<String>,
pub auth_required: Option<bool>,
pub analytics_enabled: Option<bool>,
pub connect_heartbeat: Option<bool>,
pub dev_mode: Option<bool>,
pub enable_queue: Option<bool>,
pub show_error: Option<bool>,
pub is_space: Option<bool>,
pub is_colab: Option<bool>,
pub show_api: Option<bool>,
}Fields§
§components: Vec<ComponentMeta>§dependencies: Vec<Dependency>§mode: String§root: String§theme: String§title: String§version: String§protocol: String§layout: Value§auth_message: Option<String>§css: Option<String>§js: Option<String>§head: Option<String>§root_url: Option<String>§space_id: Option<String>§stylesheets: Vec<String>§path: Option<String>§theme_hash: Option<StringOrI64>§username: Option<String>§max_file_size: Option<i64>§api_prefix: Option<String>§auth_required: Option<bool>§analytics_enabled: Option<bool>§connect_heartbeat: Option<bool>§dev_mode: Option<bool>§enable_queue: Option<bool>§show_error: Option<bool>§is_space: Option<bool>§is_colab: Option<bool>§show_api: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppConfig
impl<'de> Deserialize<'de> for AppConfig
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 AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnwindSafe for AppConfig
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