Struct prost_codegen::google::protobuf::ServiceOptions
[−]
[src]
pub struct ServiceOptions { pub deprecated: Option<bool>, pub uninterpreted_option: Vec<UninterpretedOption>, }
Fields
deprecated: Option<bool>
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.
uninterpreted_option: Vec<UninterpretedOption>
The parser stores options it doesn't recognize here. See above.
Methods
impl ServiceOptions
[src]
fn deprecated(&mut self) -> &mut bool
Trait Implementations
impl Clone for ServiceOptions
[src]
fn clone(&self) -> ServiceOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ServiceOptions
[src]
impl PartialEq for ServiceOptions
[src]
fn eq(&self, __arg_0: &ServiceOptions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ServiceOptions) -> bool
This method tests for !=
.