pub struct ApigatewayApiConfigGrpcServiceDefinition {
pub file_descriptor_set: Option<ApigatewayApiConfigFile>,
pub source: Option<Vec<ApigatewayApiConfigFile>>,
}Expand description
A gRPC service definition.
This type is not used in any activity, and only used as part of another schema.
Fields§
§file_descriptor_set: Option<ApigatewayApiConfigFile>Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc –include_imports –include_source_info test.proto -o out.pb
source: Option<Vec<ApigatewayApiConfigFile>>Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to ‘protoc’ command used to generate file_descriptor_set.
Trait Implementations§
Source§impl Clone for ApigatewayApiConfigGrpcServiceDefinition
impl Clone for ApigatewayApiConfigGrpcServiceDefinition
Source§fn clone(&self) -> ApigatewayApiConfigGrpcServiceDefinition
fn clone(&self) -> ApigatewayApiConfigGrpcServiceDefinition
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 Default for ApigatewayApiConfigGrpcServiceDefinition
impl Default for ApigatewayApiConfigGrpcServiceDefinition
Source§fn default() -> ApigatewayApiConfigGrpcServiceDefinition
fn default() -> ApigatewayApiConfigGrpcServiceDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApigatewayApiConfigGrpcServiceDefinition
impl<'de> Deserialize<'de> for ApigatewayApiConfigGrpcServiceDefinition
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 ApigatewayApiConfigGrpcServiceDefinition
Auto Trait Implementations§
impl Freeze for ApigatewayApiConfigGrpcServiceDefinition
impl RefUnwindSafe for ApigatewayApiConfigGrpcServiceDefinition
impl Send for ApigatewayApiConfigGrpcServiceDefinition
impl Sync for ApigatewayApiConfigGrpcServiceDefinition
impl Unpin for ApigatewayApiConfigGrpcServiceDefinition
impl UnwindSafe for ApigatewayApiConfigGrpcServiceDefinition
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