pub struct WebConfig {
pub url: String,
pub domain: String,
pub public: String,
pub temp_dir: String,
/* private fields */
}
Fields§
§url: String
§domain: String
域名
public: String
对外访问目录
temp_dir: String
临时文件目录
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WebConfig
impl RefUnwindSafe for WebConfig
impl Send for WebConfig
impl Sync for WebConfig
impl Unpin for WebConfig
impl UnwindSafe for WebConfig
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