Struct google_api_proto::google::api::DotnetSettings
source · pub struct DotnetSettings {
pub common: Option<CommonLanguageSettings>,
pub renamed_services: BTreeMap<String, String>,
pub renamed_resources: BTreeMap<String, String>,
pub ignored_resources: Vec<String>,
pub forced_namespace_aliases: Vec<String>,
pub handwritten_signatures: Vec<String>,
}
Expand description
Settings for Dotnet client libraries.
Fields§
§common: Option<CommonLanguageSettings>
Some settings.
renamed_services: BTreeMap<String, String>
Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.
renamed_resources: BTreeMap<String, String>
Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: “datalabeling.googleapis.com/Dataset”: “DataLabelingDataset”
ignored_resources: Vec<String>
List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: “documentai.googleapis.com/Location”
forced_namespace_aliases: Vec<String>
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
handwritten_signatures: Vec<String>
Method signatures (in the form “service.method(signature)”) which are provided separately, so shouldn’t be generated. Snippets calling these methods are still generated, however.
Trait Implementations§
source§impl Clone for DotnetSettings
impl Clone for DotnetSettings
source§fn clone(&self) -> DotnetSettings
fn clone(&self) -> DotnetSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DotnetSettings
impl Debug for DotnetSettings
source§impl Default for DotnetSettings
impl Default for DotnetSettings
source§impl Message for DotnetSettings
impl Message for DotnetSettings
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for DotnetSettings
impl PartialEq for DotnetSettings
source§fn eq(&self, other: &DotnetSettings) -> bool
fn eq(&self, other: &DotnetSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DotnetSettings
Auto Trait Implementations§
impl Freeze for DotnetSettings
impl RefUnwindSafe for DotnetSettings
impl Send for DotnetSettings
impl Sync for DotnetSettings
impl Unpin for DotnetSettings
impl UnwindSafe for DotnetSettings
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request