pub struct GoogleCloudApigeeV1GraphQLOperation {
pub operation: Option<String>,
pub operation_types: Option<Vec<String>>,
}
Expand description
Represents the pairing of GraphQL operation types and the GraphQL operation name.
This type is not used in any activity, and only used as part of another schema.
Fields§
§operation: Option<String>
GraphQL operation name. The name and operation type will be used to apply quotas. If no name is specified, the quota will be applied to all GraphQL operations irrespective of their operation names in the payload.
operation_types: Option<Vec<String>>
Required. GraphQL operation types. Valid values include query
or mutation
. Note: Apigee does not currently support subscription
types.
Trait Implementations§
source§impl Clone for GoogleCloudApigeeV1GraphQLOperation
impl Clone for GoogleCloudApigeeV1GraphQLOperation
source§fn clone(&self) -> GoogleCloudApigeeV1GraphQLOperation
fn clone(&self) -> GoogleCloudApigeeV1GraphQLOperation
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 Default for GoogleCloudApigeeV1GraphQLOperation
impl Default for GoogleCloudApigeeV1GraphQLOperation
source§fn default() -> GoogleCloudApigeeV1GraphQLOperation
fn default() -> GoogleCloudApigeeV1GraphQLOperation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudApigeeV1GraphQLOperation
impl<'de> Deserialize<'de> for GoogleCloudApigeeV1GraphQLOperation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudApigeeV1GraphQLOperation
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudApigeeV1GraphQLOperation
impl Send for GoogleCloudApigeeV1GraphQLOperation
impl Sync for GoogleCloudApigeeV1GraphQLOperation
impl Unpin for GoogleCloudApigeeV1GraphQLOperation
impl UnwindSafe for GoogleCloudApigeeV1GraphQLOperation
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