pub struct HttpMountDetails {
pub path_prefix: Vec<PathSegment>,
pub auth_details: Option<AuthDetails>,
pub phantom_agent: bool,
pub phantom_id_binding: Option<PhantomIdBinding>,
pub cors_options: CorsOptions,
pub webhook_suffix: Vec<PathSegment>,
pub static_bindings: Vec<FileMapping>,
pub filesystem_bindings: Vec<FileMapping>,
pub file_response_headers: Vec<FileResponseHeader>,
pub openapi_provider_method: Option<String>,
}Fields§
§path_prefix: Vec<PathSegment>§auth_details: Option<AuthDetails>§phantom_agent: bool§phantom_id_binding: Option<PhantomIdBinding>§cors_options: CorsOptions§webhook_suffix: Vec<PathSegment>§static_bindings: Vec<FileMapping>§filesystem_bindings: Vec<FileMapping>§file_response_headers: Vec<FileResponseHeader>Additional response headers for files served by static-bindings or filesystem-bindings.
openapi_provider_method: Option<String>The name of a parameterless router method that returns the OpenAPI document as a string.
Trait Implementations§
Source§impl Clone for HttpMountDetails
impl Clone for HttpMountDetails
Auto Trait Implementations§
impl Freeze for HttpMountDetails
impl RefUnwindSafe for HttpMountDetails
impl Send for HttpMountDetails
impl Sync for HttpMountDetails
impl Unpin for HttpMountDetails
impl UnsafeUnpin for HttpMountDetails
impl UnwindSafe for HttpMountDetails
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