pub struct SettingsSpec {
pub mathhubs: Vec<Box<Path>>,
pub debug: Option<bool>,
pub server: ServerSettings,
pub log_dir: Option<Box<Path>>,
pub temp_dir: Option<Box<Path>>,
pub buildqueue: BuildQueueSettings,
pub lsp: bool,
pub database: Option<Box<Path>>,
pub gitlab: GitlabSettings,
}
Fieldsยง
ยงmathhubs: Vec<Box<Path>>
ยงdebug: Option<bool>
ยงserver: ServerSettings
ยงlog_dir: Option<Box<Path>>
ยงtemp_dir: Option<Box<Path>>
ยงbuildqueue: BuildQueueSettings
ยงlsp: bool
ยงdatabase: Option<Box<Path>>
ยงgitlab: GitlabSettings
Implementationsยง
Sourceยงimpl SettingsSpec
impl SettingsSpec
Trait Implementationsยง
Sourceยงimpl Add for SettingsSpec
impl Add for SettingsSpec
Sourceยงimpl AddAssign for SettingsSpec
impl AddAssign for SettingsSpec
Sourceยงfn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSourceยงimpl Clone for SettingsSpec
impl Clone for SettingsSpec
Sourceยงfn clone(&self) -> SettingsSpec
fn clone(&self) -> SettingsSpec
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 SettingsSpec
impl Debug for SettingsSpec
Sourceยงimpl Default for SettingsSpec
impl Default for SettingsSpec
Sourceยงfn default() -> SettingsSpec
fn default() -> SettingsSpec
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl<'de> Deserialize<'de> for SettingsSpec
impl<'de> Deserialize<'de> for SettingsSpec
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 SettingsSpec
impl RefUnwindSafe for SettingsSpec
impl Send for SettingsSpec
impl Sync for SettingsSpec
impl Unpin for SettingsSpec
impl UnwindSafe for SettingsSpec
Blanket Implementationsยง
ยงimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
ยงtype ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
ยงfn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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,
ยงimpl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
ยงfn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
Sourceยงimpl<T> Hexable for Twhere
T: Serialize + for<'de> Deserialize<'de>,
impl<T> Hexable for Twhere
T: Serialize + for<'de> Deserialize<'de>,
ยงimpl<T> Instrument for T
impl<T> Instrument for T
ยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
ยง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