pub struct PhrasePlaceholder {
pub name: Vec<String>,
pub for_fact: String,
}
Expand description
Represents a Placeholder definition for Fact for e.g.,
Placeholder civilian For citizen.
Fields§
§name: Vec<String>
The name of the placeholder itself. Note that multiple can be submitted in one go to do it efficiently, but not all backend reasoners may support that syntax.
for_fact: String
The identifier of the Fact for which phrase holds.
Trait Implementations§
Source§impl Clone for PhrasePlaceholder
impl Clone for PhrasePlaceholder
Source§fn clone(&self) -> PhrasePlaceholder
fn clone(&self) -> PhrasePlaceholder
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 PhrasePlaceholder
impl Debug for PhrasePlaceholder
Source§impl<'de> Deserialize<'de> for PhrasePlaceholder
impl<'de> Deserialize<'de> for PhrasePlaceholder
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 PhrasePlaceholder
impl RefUnwindSafe for PhrasePlaceholder
impl Send for PhrasePlaceholder
impl Sync for PhrasePlaceholder
impl Unpin for PhrasePlaceholder
impl UnwindSafe for PhrasePlaceholder
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