Enum googapis::google::api::servicemanagement::v1::config_file::FileType [−][src]
#[repr(i32)]
pub enum FileType {
Unspecified,
ServiceConfigYaml,
OpenApiJson,
OpenApiYaml,
FileDescriptorSetProto,
ProtoFile,
}
Variants
Unknown file type.
YAML-specification of service.
OpenAPI specification, serialized in JSON.
OpenAPI specification, serialized in YAML.
FileDescriptorSet, 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
Uncompiled Proto file. Used for storage and display purposes only, currently server-side compilation is not supported. Should match the inputs to ‘protoc’ command used to generated FILE_DESCRIPTOR_SET_PROTO. A file of this type can only be included if at least one file of type FILE_DESCRIPTOR_SET_PROTO is included.
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for FileType
impl UnwindSafe for FileType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more