Struct gapi_grpc::google::api::ConfigChange[][src]

pub struct ConfigChange {
    pub element: String,
    pub old_value: String,
    pub new_value: String,
    pub change_type: i32,
    pub advices: Vec<Advice>,
}

Output generated from semantically comparing two versions of a service configuration.

Includes detailed information about a field that have changed with applicable advice about potential consequences for the change, such as backwards-incompatibility.

Fields

element: String

Object hierarchy path to the change, with levels separated by a ‘.’ character. For repeated fields, an applicable unique identifier field is used for the index (usually selector, name, or id). For maps, the term ‘key’ is used. If the field has no unique identifier, the numeric index is used. Examples:

old_value: String

Value of the changed object in the old Service configuration, in JSON format. This field will not be populated if ChangeType == ADDED.

new_value: String

Value of the changed object in the new Service configuration, in JSON format. This field will not be populated if ChangeType == REMOVED.

change_type: i32

The type for this change, either ADDED, REMOVED, or MODIFIED.

advices: Vec<Advice>

Collection of advice provided for this change, useful for determining the possible impact of this change.

Implementations

impl ConfigChange[src]

pub fn change_type(&self) -> ChangeType[src]

Returns the enum value of change_type, or the default if the field is set to an invalid enum value.

pub fn set_change_type(&mut self, value: ChangeType)[src]

Sets change_type to the provided enum value.

Trait Implementations

impl Clone for ConfigChange[src]

impl Debug for ConfigChange[src]

impl Default for ConfigChange[src]

impl Message for ConfigChange[src]

impl PartialEq<ConfigChange> for ConfigChange[src]

impl StructuralPartialEq for ConfigChange[src]

Auto Trait Implementations

impl RefUnwindSafe for ConfigChange

impl Send for ConfigChange

impl Sync for ConfigChange

impl Unpin for ConfigChange

impl UnwindSafe for ConfigChange

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]