pub struct WebConfig {
pub host: String,
pub port: u16,
pub auth_token: Option<String>,
pub session_ttl_hours: u64,
pub default_profile: Option<String>,
}Fields§
§host: String§port: u16§auth_token: Option<String>Dashboard login secret, generated by config init. The dashboard refuses to
start without one.
session_ttl_hours: u64How long a browser stays signed in. 0 is read as the default rather than as
“expire immediately”, which would make the dashboard unusable.
default_profile: Option<String>Which profile the dashboard serves when neither --profile nor ECLIPSE_PROFILE
names one. None means the default profile.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WebConfig
impl<'de> Deserialize<'de> for WebConfig
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 Forget for WebConfig
impl Freeze for WebConfig
impl Move for WebConfig
impl RefUnwindSafe for WebConfig
impl Send for WebConfigwhere
RawVecInner: Send,
impl Sync for WebConfigwhere
RawVecInner: Sync,
impl Unpin for WebConfig
impl UnsafeUnpin for WebConfig
impl UnwindSafe for WebConfigwhere
RawVecInner: UnwindSafe,
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