Struct gapi_grpc::google::cloud::apigateway::v1::api_config::GrpcServiceDefinition[][src]

pub struct GrpcServiceDefinition {
    pub file_descriptor_set: Option<File>,
    pub source: Vec<File>,
}

A gRPC service definition.

Fields

file_descriptor_set: Option<File>

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: Vec<File>

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

impl Clone for GrpcServiceDefinition[src]

impl Debug for GrpcServiceDefinition[src]

impl Default for GrpcServiceDefinition[src]

impl Message for GrpcServiceDefinition[src]

impl PartialEq<GrpcServiceDefinition> for GrpcServiceDefinition[src]

impl StructuralPartialEq for GrpcServiceDefinition[src]

Auto Trait Implementations

impl RefUnwindSafe for GrpcServiceDefinition

impl Send for GrpcServiceDefinition

impl Sync for GrpcServiceDefinition

impl Unpin for GrpcServiceDefinition

impl UnwindSafe for GrpcServiceDefinition

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]