pub struct UpdateResolverRequest {
pub api_id: String,
pub caching_config: Option<CachingConfig>,
pub data_source_name: Option<String>,
pub field_name: String,
pub kind: Option<String>,
pub pipeline_config: Option<PipelineConfig>,
pub request_mapping_template: String,
pub response_mapping_template: Option<String>,
pub sync_config: Option<SyncConfig>,
pub type_name: String,
}
Fields§
§api_id: String
The API ID.
caching_config: Option<CachingConfig>
The caching configuration for the resolver.
data_source_name: Option<String>
The new data source name.
field_name: String
The new field name.
kind: Option<String>
The resolver type.
-
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.
-
PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of
Function
in a serial manner. You can use a pipeline resolver to execute a GraphQL query against multiple data sources.
pipeline_config: Option<PipelineConfig>
The PipelineConfig
.
request_mapping_template: String
The new request mapping template.
response_mapping_template: Option<String>
The new response mapping template.
sync_config: Option<SyncConfig>
The SyncConfig
for a resolver attached to a versioned datasource.
type_name: String
The new type name.
Trait Implementations§
Source§impl Clone for UpdateResolverRequest
impl Clone for UpdateResolverRequest
Source§fn clone(&self) -> UpdateResolverRequest
fn clone(&self) -> UpdateResolverRequest
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 Debug for UpdateResolverRequest
impl Debug for UpdateResolverRequest
Source§impl Default for UpdateResolverRequest
impl Default for UpdateResolverRequest
Source§fn default() -> UpdateResolverRequest
fn default() -> UpdateResolverRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateResolverRequest
impl PartialEq for UpdateResolverRequest
Source§impl Serialize for UpdateResolverRequest
impl Serialize for UpdateResolverRequest
impl StructuralPartialEq for UpdateResolverRequest
Auto Trait Implementations§
impl Freeze for UpdateResolverRequest
impl RefUnwindSafe for UpdateResolverRequest
impl Send for UpdateResolverRequest
impl Sync for UpdateResolverRequest
impl Unpin for UpdateResolverRequest
impl UnwindSafe for UpdateResolverRequest
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