pub struct PropertyShape {
pub datatype: Option<NamedNode>,
pub min: Option<i64>,
pub max: Option<i64>,
pub values_in: Vec<Term>,
pub pattern: Option<String>,
pub relationship: bool,
}Expand description
One property shape, merged across every shape declaring it.
Fields§
§datatype: Option<NamedNode>§min: Option<i64>§max: Option<i64>§values_in: Vec<Term>§pattern: Option<String>§relationship: boolRelationship-valued (sh:class / sh:node).
Trait Implementations§
Source§impl Clone for PropertyShape
impl Clone for PropertyShape
Source§impl Debug for PropertyShape
impl Debug for PropertyShape
Source§impl Default for PropertyShape
impl Default for PropertyShape
Source§impl PartialEq for PropertyShape
impl PartialEq for PropertyShape
impl StructuralPartialEq for PropertyShape
Auto Trait Implementations§
impl Freeze for PropertyShape
impl RefUnwindSafe for PropertyShape
impl Send for PropertyShape
impl Sync for PropertyShape
impl Unpin for PropertyShape
impl UnsafeUnpin for PropertyShape
impl UnwindSafe for PropertyShape
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