Struct prost_codegen::google::protobuf::ServiceOptions [] [src]

pub struct ServiceOptions {
    pub deprecated: Option<bool>,
    pub uninterpreted_option: Vec<UninterpretedOption>,
}

Fields

Is this service deprecated? Depending on the target platform, this can emit Deprecated annotations for the service, or it will be completely ignored; in the very least, this is a formalization for deprecating services.

The parser stores options it doesn't recognize here. See above.

Methods

impl ServiceOptions
[src]

Trait Implementations

impl Clone for ServiceOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ServiceOptions
[src]

Formats the value using the given formatter.

impl PartialEq for ServiceOptions
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.