pub struct SwrlRuleListItem {
pub id: String,
pub label: String,
pub body_count: usize,
pub head_count: usize,
pub enabled: bool,
pub rule_json: Option<String>,
pub document_uri: Option<String>,
pub ontology_iri: Option<String>,
}Expand description
SWRL rule summary for Rule Browser (v0.23).
Fields§
§id: String§label: String§body_count: usize§head_count: usize§enabled: bool§rule_json: Option<String>Full JSON for editor round-trip when known.
document_uri: Option<String>§ontology_iri: Option<String>Trait Implementations§
Source§impl Clone for SwrlRuleListItem
impl Clone for SwrlRuleListItem
Source§fn clone(&self) -> SwrlRuleListItem
fn clone(&self) -> SwrlRuleListItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SwrlRuleListItem
impl Debug for SwrlRuleListItem
Source§impl<'de> Deserialize<'de> for SwrlRuleListItem
impl<'de> Deserialize<'de> for SwrlRuleListItem
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 SwrlRuleListItem
impl RefUnwindSafe for SwrlRuleListItem
impl Send for SwrlRuleListItem
impl Sync for SwrlRuleListItem
impl Unpin for SwrlRuleListItem
impl UnsafeUnpin for SwrlRuleListItem
impl UnwindSafe for SwrlRuleListItem
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