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