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