Struct dioxus_fullstack::ServeConfig
source · pub struct ServeConfig { /* private fields */ }Expand description
Used to configure how to serve a Dioxus application. It contains information about how to serve static assets, and what content to render with [dioxus-ssr].
See ServeConfigBuilder to create a ServeConfig
Implementations§
source§impl ServeConfig
impl ServeConfig
sourcepub fn builder() -> ServeConfigBuilder
pub fn builder() -> ServeConfigBuilder
Create a new builder for a ServeConfig
Trait Implementations§
source§impl Clone for ServeConfig
impl Clone for ServeConfig
source§fn clone(&self) -> ServeConfig
fn clone(&self) -> ServeConfig
Returns a copy 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 Default for ServeConfig
impl Default for ServeConfig
source§impl From<ServeConfigBuilder> for ServeConfig
impl From<ServeConfigBuilder> for ServeConfig
source§fn from(builder: ServeConfigBuilder) -> Self
fn from(builder: ServeConfigBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ServeConfig
impl !RefUnwindSafe for ServeConfig
impl Send for ServeConfig
impl Sync for ServeConfig
impl Unpin for ServeConfig
impl !UnwindSafe for ServeConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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<Ret> SpawnIfAsync<(), Ret> for Ret
impl<Ret> SpawnIfAsync<(), Ret> for Ret
source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.