#[non_exhaustive]pub enum ChangeType {
Unspecified,
Added,
Removed,
Modified,
UnknownValue(UnknownValue),
}
Expand description
Classifies set of possible modifications to an object in the service configuration.
§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
No value was provided.
Added
The changed object exists in the ‘new’ service configuration, but not in the ‘old’ service configuration.
Removed
The changed object exists in the ‘old’ service configuration, but not in the ‘new’ service configuration.
Modified
The changed object exists in both service configurations, but its value is different.
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using ChangeType::value or ChangeType::name.
Implementations§
Trait Implementations§
Source§impl Clone for ChangeType
impl Clone for ChangeType
Source§fn clone(&self) -> ChangeType
fn clone(&self) -> ChangeType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more