Skip to main content

MetadataChange

Type Alias MetadataChange 

Source
pub type MetadataChange<T> = Option<T>;
Expand description

Outcome of a metadata mutation.

None means the request was a no-op (the field already had the requested value, or a guard rejected the change). Some(applied) means the change was persisted and an event was published.

Aliased Type§

pub enum MetadataChange<T> {
    None,
    Some(T),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(T)

Some value of type T.