#[non_exhaustive]pub struct ApiEndpointHandler {
pub script_path: String,
/* private fields */
}
Expand description
Uses Google Cloud Endpoints to handle requests.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.script_path: String
Path to the script from the application root directory.
Implementations§
Source§impl ApiEndpointHandler
impl ApiEndpointHandler
pub fn new() -> Self
Sourcepub fn set_script_path<T: Into<String>>(self, v: T) -> Self
pub fn set_script_path<T: Into<String>>(self, v: T) -> Self
Sets the value of script_path.
Trait Implementations§
Source§impl Clone for ApiEndpointHandler
impl Clone for ApiEndpointHandler
Source§fn clone(&self) -> ApiEndpointHandler
fn clone(&self) -> ApiEndpointHandler
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 ApiEndpointHandler
impl Debug for ApiEndpointHandler
Source§impl Default for ApiEndpointHandler
impl Default for ApiEndpointHandler
Source§fn default() -> ApiEndpointHandler
fn default() -> ApiEndpointHandler
Returns the “default value” for a type. Read more
Source§impl Message for ApiEndpointHandler
impl Message for ApiEndpointHandler
Source§impl PartialEq for ApiEndpointHandler
impl PartialEq for ApiEndpointHandler
impl StructuralPartialEq for ApiEndpointHandler
Auto Trait Implementations§
impl Freeze for ApiEndpointHandler
impl RefUnwindSafe for ApiEndpointHandler
impl Send for ApiEndpointHandler
impl Sync for ApiEndpointHandler
impl Unpin for ApiEndpointHandler
impl UnwindSafe for ApiEndpointHandler
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