pub struct PhraseExtendAct {
pub name: String,
pub definition: TypeDefinitionCommon,
pub event: EventDefinitionCommon,
}
Expand description
Defines an extension to an existing Act, e.g.,
Extend Act vote
Terminates (Foreach administrator : duty-to-vote(citizen, administrator)).
Fields§
§name: String
The name of the thing to extend.
definition: TypeDefinitionCommon
Defines the common definition fields that can be extended.
event: EventDefinitionCommon
Defines the common event fields that can be extended.
Trait Implementations§
Source§impl Clone for PhraseExtendAct
impl Clone for PhraseExtendAct
Source§fn clone(&self) -> PhraseExtendAct
fn clone(&self) -> PhraseExtendAct
Returns a copy 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 PhraseExtendAct
impl Debug for PhraseExtendAct
Source§impl<'de> Deserialize<'de> for PhraseExtendAct
impl<'de> Deserialize<'de> for PhraseExtendAct
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 PhraseExtendAct
impl RefUnwindSafe for PhraseExtendAct
impl Send for PhraseExtendAct
impl Sync for PhraseExtendAct
impl Unpin for PhraseExtendAct
impl UnwindSafe for PhraseExtendAct
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