Struct manganis_common::Config
source · pub struct Config { /* private fields */ }
Expand description
The configuration for collecting assets
Implementations§
source§impl Config
impl Config
sourcepub fn with_assets_serve_location(
&self,
assets_serve_location: impl Into<String>
) -> Self
pub fn with_assets_serve_location( &self, assets_serve_location: impl Into<String> ) -> Self
The location where assets will be served from. On web applications, this should be the URL path to the directory where assets are served from.
sourcepub fn assets_serve_location(&self) -> &str
pub fn assets_serve_location(&self) -> &str
The location where assets will be served from. On web applications, this should be the URL path to the directory where assets are served from.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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 Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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