pub struct PromotionContract {
pub field: String,
pub state_key: String,
pub merge: String,
pub has_predicate: bool,
}Expand description
A field promotion declaration.
Fields§
§field: StringField in raw extractor output.
state_key: StringCanonical state key written on acceptance.
merge: StringMerge policy.
has_predicate: boolWhether this promotion has an acceptance predicate.
Trait Implementations§
Source§impl Clone for PromotionContract
impl Clone for PromotionContract
Source§fn clone(&self) -> PromotionContract
fn clone(&self) -> PromotionContract
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PromotionContract
impl Debug for PromotionContract
Source§impl<'de> Deserialize<'de> for PromotionContract
impl<'de> Deserialize<'de> for PromotionContract
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PromotionContract
impl RefUnwindSafe for PromotionContract
impl Send for PromotionContract
impl Sync for PromotionContract
impl Unpin for PromotionContract
impl UnwindSafe for PromotionContract
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more