pub struct EmbedConfig {
pub directory_index: Vec<String>,
}Expand description
Embed serving configuration
Fields§
§directory_index: Vec<String>list of directory index.
Default value is vec!["index.html".to_string(), "index.htm".to_string()]
Trait Implementations§
Source§impl Clone for EmbedConfig
impl Clone for EmbedConfig
Source§fn clone(&self) -> EmbedConfig
fn clone(&self) -> EmbedConfig
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 EmbedConfig
impl Debug for EmbedConfig
Auto Trait Implementations§
impl Freeze for EmbedConfig
impl RefUnwindSafe for EmbedConfig
impl Send for EmbedConfig
impl Sync for EmbedConfig
impl Unpin for EmbedConfig
impl UnwindSafe for EmbedConfig
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