Struct otter_api_tests::ServerConfig[][src]

pub struct ServerConfig {
Show fields pub command_socket: String, pub debug: bool, pub http_port: Option<u16>, pub public_url: String, pub sse_wildcard_url: Option<(String, String)>, pub rocket_workers: u16, pub template_dir: String, pub nwtemplate_dir: String, pub wasm_dir: String, pub bundled_sources: String, pub shapelibs: Vec<Config1, Global>, pub sendmail: String, pub debug_js_inject: Arc<String>, pub check_bundled_sources: bool, pub game_rng: RngWrap, // some fields omitted
}

Fields

command_socket: Stringdebug: boolhttp_port: Option<u16>public_url: Stringsse_wildcard_url: Option<(String, String)>rocket_workers: u16template_dir: Stringnwtemplate_dir: Stringwasm_dir: Stringbundled_sources: Stringshapelibs: Vec<Config1, Global>sendmail: Stringdebug_js_inject: Arc<String>check_bundled_sources: boolgame_rng: RngWrap

Implementations

impl ServerConfig[src]

pub fn read(config_filename: Option<&str>) -> Result<(), Error>[src]

pub fn lock_save_area(&self) -> Result<(), Error>[src]

pub fn save_dir(&self) -> &String[src]

Trait Implementations

impl Clone for ServerConfig[src]

impl Debug for ServerConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<A> DynCastExt for A

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,