Enum snapps_txn_reference_impl::party::SetOrKeep [−][src]
pub enum SetOrKeep<T> {
Set(T),
Keep,
}
Expand description
The SetOrKeep<T>
type is an enum type parameterised by a type T
, and determines whether a
party update affects a particular field of the account state.
Variants
Set(T)
Update the account state with a new value.
Keep
Keep the existing value.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for SetOrKeep<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for SetOrKeep<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more