Struct google_appengine1::ErrorHandler [−][src]
pub struct ErrorHandler {
pub error_code: Option<String>,
pub mime_type: Option<String>,
pub static_file: Option<String>,
}Custom static error page to be served when an error occurs.
This type is not used in any activity, and only used as part of another schema.
Fields
error_code: Option<String>
Error condition this handler applies to.
mime_type: Option<String>
MIME type of file. Defaults to text/html.
static_file: Option<String>
Static file content to be served for this error.
Trait Implementations
impl Default for ErrorHandler[src]
impl Default for ErrorHandlerfn default() -> ErrorHandler[src]
fn default() -> ErrorHandlerReturns the "default value" for a type. Read more
impl Clone for ErrorHandler[src]
impl Clone for ErrorHandlerfn clone(&self) -> ErrorHandler[src]
fn clone(&self) -> ErrorHandlerReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for ErrorHandler[src]
impl Debug for ErrorHandlerfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Part for ErrorHandler[src]
impl Part for ErrorHandlerAuto Trait Implementations
impl Send for ErrorHandler
impl Send for ErrorHandlerimpl Sync for ErrorHandler
impl Sync for ErrorHandler