pub struct TapStatement { /* private fields */ }
Implementations§
Source§impl TapStatement
impl TapStatement
pub fn new(property_id: PropertyId) -> TapStatement
pub fn with_source_line_number(self, line: u64) -> Self
pub fn source_line_number(&self) -> u64
pub fn with_property_id(self, property_id: PropertyId) -> Self
pub fn set_repeatable(&mut self, repeatable: bool)
pub fn set_mandatory(&mut self, mandatory: bool)
pub fn set_value_datatype(&mut self, datatype: &DatatypeId)
pub fn set_value_nodetype(&mut self, nodetype: &NodeType)
pub fn set_value_shape(&mut self, value_shape: &ShapeId)
pub fn set_value_constraint(&mut self, value_constraint: &ValueConstraint)
pub fn set_property_label(&mut self, property_label: &str)
pub fn set_note(&mut self, note: &str)
pub fn property_id(&self) -> PropertyId
pub fn mandatory(&self) -> Option<bool>
pub fn repeatable(&self) -> Option<bool>
pub fn value_datatype(&self) -> Option<DatatypeId>
pub fn value_shape(&self) -> Option<ShapeId>
pub fn value_constraint(&self) -> &Option<ValueConstraint>
pub fn property_label(&self) -> &Option<String>
Trait Implementations§
Source§impl Clone for TapStatement
impl Clone for TapStatement
Source§fn clone(&self) -> TapStatement
fn clone(&self) -> TapStatement
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 TapStatement
impl Debug for TapStatement
Source§impl Default for TapStatement
impl Default for TapStatement
Source§fn default() -> TapStatement
fn default() -> TapStatement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TapStatement
impl<'de> Deserialize<'de> for TapStatement
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
Source§impl Display for TapStatement
impl Display for TapStatement
Source§impl PartialEq for TapStatement
impl PartialEq for TapStatement
Source§impl Serialize for TapStatement
impl Serialize for TapStatement
impl StructuralPartialEq for TapStatement
Auto Trait Implementations§
impl Freeze for TapStatement
impl RefUnwindSafe for TapStatement
impl Send for TapStatement
impl Sync for TapStatement
impl Unpin for TapStatement
impl UnwindSafe for TapStatement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more