#[non_exhaustive]pub struct CommonLanguageSettings {
    pub reference_docs_uri: String,
    pub destinations: Vec<ClientLibraryDestination>,
    pub selective_gapic_generation: Option<SelectiveGapicGeneration>,
}Expand description
Required information for every language.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.reference_docs_uri: StringLink to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
destinations: Vec<ClientLibraryDestination>The destination where API teams want this client library to be published.
selective_gapic_generation: Option<SelectiveGapicGeneration>Configuration for which RPCs should be generated in the GAPIC client.
Implementations§
Source§impl CommonLanguageSettings
 
impl CommonLanguageSettings
Sourcepub fn set_reference_docs_uri<T: Into<String>>(self, v: T) -> Self
 
pub fn set_reference_docs_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of reference_docs_uri.
Sourcepub fn set_selective_gapic_generation<T: Into<Option<SelectiveGapicGeneration>>>(
    self,
    v: T,
) -> Self
 
pub fn set_selective_gapic_generation<T: Into<Option<SelectiveGapicGeneration>>>( self, v: T, ) -> Self
Sets the value of selective_gapic_generation.
Sourcepub fn set_destinations<T, V>(self, v: T) -> Self
 
pub fn set_destinations<T, V>(self, v: T) -> Self
Sets the value of destinations.
Trait Implementations§
Source§impl Clone for CommonLanguageSettings
 
impl Clone for CommonLanguageSettings
Source§fn clone(&self) -> CommonLanguageSettings
 
fn clone(&self) -> CommonLanguageSettings
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for CommonLanguageSettings
 
impl Debug for CommonLanguageSettings
Source§impl Default for CommonLanguageSettings
 
impl Default for CommonLanguageSettings
Source§fn default() -> CommonLanguageSettings
 
fn default() -> CommonLanguageSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommonLanguageSettingswhere
    CommonLanguageSettings: Default,
 
impl<'de> Deserialize<'de> for CommonLanguageSettingswhere
    CommonLanguageSettings: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for CommonLanguageSettings
 
impl Message for CommonLanguageSettings
Source§impl PartialEq for CommonLanguageSettings
 
impl PartialEq for CommonLanguageSettings
Source§impl Serialize for CommonLanguageSettings
 
impl Serialize for CommonLanguageSettings
impl StructuralPartialEq for CommonLanguageSettings
Auto Trait Implementations§
impl Freeze for CommonLanguageSettings
impl RefUnwindSafe for CommonLanguageSettings
impl Send for CommonLanguageSettings
impl Sync for CommonLanguageSettings
impl Unpin for CommonLanguageSettings
impl UnwindSafe for CommonLanguageSettings
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
Mutably borrows from an owned value. Read more