pub struct WebFrameworkConfigIR {
pub server: ServerConfig,
pub database: Option<DatabaseIR>,
pub api_routes: Vec<ApiRouteIR>,
pub web_sockets: Vec<WebSocketIR>,
pub graph_ql: Option<GraphQLIR>,
pub middlewares: Vec<MiddlewareIR>,
pub static_files: Vec<StaticFilesConfig>,
pub authentication: Option<AuthConfig>,
pub session: Option<SessionConfig>,
}
Expand description
Webフレームワーク設定IR
Fields§
§server: ServerConfig
§database: Option<DatabaseIR>
§api_routes: Vec<ApiRouteIR>
§web_sockets: Vec<WebSocketIR>
§graph_ql: Option<GraphQLIR>
§middlewares: Vec<MiddlewareIR>
§static_files: Vec<StaticFilesConfig>
§authentication: Option<AuthConfig>
§session: Option<SessionConfig>
Trait Implementations§
Source§impl Clone for WebFrameworkConfigIR
impl Clone for WebFrameworkConfigIR
Source§fn clone(&self) -> WebFrameworkConfigIR
fn clone(&self) -> WebFrameworkConfigIR
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 WebFrameworkConfigIR
impl Debug for WebFrameworkConfigIR
Source§impl<'de> Deserialize<'de> for WebFrameworkConfigIR
impl<'de> Deserialize<'de> for WebFrameworkConfigIR
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
Source§impl PartialEq for WebFrameworkConfigIR
impl PartialEq for WebFrameworkConfigIR
Source§impl Serialize for WebFrameworkConfigIR
impl Serialize for WebFrameworkConfigIR
impl StructuralPartialEq for WebFrameworkConfigIR
Auto Trait Implementations§
impl Freeze for WebFrameworkConfigIR
impl RefUnwindSafe for WebFrameworkConfigIR
impl Send for WebFrameworkConfigIR
impl Sync for WebFrameworkConfigIR
impl Unpin for WebFrameworkConfigIR
impl UnwindSafe for WebFrameworkConfigIR
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