pub struct UpdateFunctionRequest {
pub api_id: String,
pub data_source_name: String,
pub description: Option<String>,
pub function_id: String,
pub function_version: String,
pub name: String,
pub request_mapping_template: String,
pub response_mapping_template: Option<String>,
}Fields§
§api_id: StringThe GraphQL API ID.
data_source_name: StringThe Function DataSource name.
description: Option<String>The Function description.
function_id: StringThe function ID.
function_version: StringThe version of the request mapping template. Currently the supported value is 2018-05-29.
name: StringThe Function name.
request_mapping_template: StringThe Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
response_mapping_template: Option<String>The Function request mapping template.
Trait Implementations§
Source§impl Clone for UpdateFunctionRequest
impl Clone for UpdateFunctionRequest
Source§fn clone(&self) -> UpdateFunctionRequest
fn clone(&self) -> UpdateFunctionRequest
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 UpdateFunctionRequest
impl Debug for UpdateFunctionRequest
Source§impl Default for UpdateFunctionRequest
impl Default for UpdateFunctionRequest
Source§fn default() -> UpdateFunctionRequest
fn default() -> UpdateFunctionRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateFunctionRequest
impl PartialEq for UpdateFunctionRequest
Source§impl Serialize for UpdateFunctionRequest
impl Serialize for UpdateFunctionRequest
impl StructuralPartialEq for UpdateFunctionRequest
Auto Trait Implementations§
impl Freeze for UpdateFunctionRequest
impl RefUnwindSafe for UpdateFunctionRequest
impl Send for UpdateFunctionRequest
impl Sync for UpdateFunctionRequest
impl Unpin for UpdateFunctionRequest
impl UnwindSafe for UpdateFunctionRequest
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