pub struct ProjectConfig {Show 27 fields
pub output_name: String,
pub site_addr: SocketAddr,
pub site_root: Utf8PathBuf,
pub site_pkg_dir: Utf8PathBuf,
pub style_file: Option<Utf8PathBuf>,
pub tailwind_input_file: Option<Utf8PathBuf>,
pub tailwind_config_file: Option<Utf8PathBuf>,
pub assets_dir: Option<Utf8PathBuf>,
pub js_dir: Option<Utf8PathBuf>,
pub reload_port: u16,
pub end2end_cmd: Option<String>,
pub end2end_dir: Option<Utf8PathBuf>,
pub browser_query: String,
pub bin_target: String,
pub bin_target_triple: Option<String>,
pub bin_target_dir: Option<String>,
pub bin_cargo_command: Option<String>,
pub features: Vec<String>,
pub lib_features: Vec<String>,
pub lib_default_features: bool,
pub bin_features: Vec<String>,
pub bin_default_features: bool,
pub config_dir: Utf8PathBuf,
pub lib_profile_dev: Option<String>,
pub lib_profile_release: Option<String>,
pub bin_profile_dev: Option<String>,
pub bin_profile_release: Option<String>,
}Fields§
§output_name: String§site_addr: SocketAddr§site_root: Utf8PathBuf§site_pkg_dir: Utf8PathBuf§style_file: Option<Utf8PathBuf>§tailwind_input_file: Option<Utf8PathBuf>§tailwind_config_file: Option<Utf8PathBuf>§assets_dir: Option<Utf8PathBuf>assets dir. content will be copied to the target/site dir
js_dir: Option<Utf8PathBuf>js dir. changes triggers rebuilds.
reload_port: u16§end2end_cmd: Option<String>command for launching end-2-end integration tests
end2end_dir: Option<Utf8PathBuf>the dir used when launching end-2-end integration tests
browser_query: String§bin_target: Stringthe bin target to use for building the server
bin_target_triple: Option<String>the bin output target triple to use for building the server
bin_target_dir: Option<String>the directory to put the generated server artifacts
bin_cargo_command: Option<String>the command to run instead of “cargo” when building the server
features: Vec<String>§lib_features: Vec<String>§lib_default_features: bool§bin_features: Vec<String>§bin_default_features: bool§config_dir: Utf8PathBuf§lib_profile_dev: Option<String>§lib_profile_release: Option<String>§bin_profile_dev: Option<String>§bin_profile_release: Option<String>Trait Implementations§
Source§impl Debug for ProjectConfig
impl Debug for ProjectConfig
Source§impl<'de> Deserialize<'de> for ProjectConfig
impl<'de> Deserialize<'de> for ProjectConfig
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 ProjectConfig
impl RefUnwindSafe for ProjectConfig
impl Send for ProjectConfig
impl Sync for ProjectConfig
impl Unpin for ProjectConfig
impl UnwindSafe for ProjectConfig
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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