pub struct PhraseCompositeFact {
pub definition: TypeDefinitionCommon,
pub name: String,
pub identified_by: NonEmptyVec<String>,
}
Expand description
Represents the definition of a composite Fact, e.g.,
Fact voter Identified by citizen.
Fields§
§definition: TypeDefinitionCommon
The common fields for this definition.
name: String
The name of the new Fact.
identified_by: NonEmptyVec<String>
The fields of this Fact, given as identifiers for nested types.
Trait Implementations§
Source§impl Clone for PhraseCompositeFact
impl Clone for PhraseCompositeFact
Source§fn clone(&self) -> PhraseCompositeFact
fn clone(&self) -> PhraseCompositeFact
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 PhraseCompositeFact
impl Debug for PhraseCompositeFact
Source§impl<'de> Deserialize<'de> for PhraseCompositeFact
impl<'de> Deserialize<'de> for PhraseCompositeFact
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 PhraseCompositeFact
impl RefUnwindSafe for PhraseCompositeFact
impl Send for PhraseCompositeFact
impl Sync for PhraseCompositeFact
impl Unpin for PhraseCompositeFact
impl UnwindSafe for PhraseCompositeFact
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