#[non_exhaustive]pub enum ClientLibraryDestination {
Unspecified,
Github,
PackageManager,
UnknownValue(UnknownValue),
}
Expand description
To where should client libraries be published?
§Working with unknown values
This enum is defined as #[non_exhaustive]
because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unspecified
Client libraries will neither be generated nor published to package managers.
Github
Generate the client library in a repo under github.com/googleapis, but don’t publish it to package managers.
PackageManager
Publish the library to package managers like nuget.org and npmjs.com.
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using ClientLibraryDestination::value or ClientLibraryDestination::name.
Implementations§
Trait Implementations§
Source§impl Clone for ClientLibraryDestination
impl Clone for ClientLibraryDestination
Source§fn clone(&self) -> ClientLibraryDestination
fn clone(&self) -> ClientLibraryDestination
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more