pub struct PropertyRuleIssueDetails<'a> { /* private fields */ }Expand description
This issue warns about errors in property rules that lead to property registrations being ignored.
Implementations§
Source§impl<'a> PropertyRuleIssueDetails<'a>
impl<'a> PropertyRuleIssueDetails<'a>
Sourcepub fn builder(
source_code_location: SourceCodeLocation<'a>,
property_rule_issue_reason: impl Into<PropertyRuleIssueReason>,
) -> PropertyRuleIssueDetailsBuilder<'a>
pub fn builder( source_code_location: SourceCodeLocation<'a>, property_rule_issue_reason: impl Into<PropertyRuleIssueReason>, ) -> PropertyRuleIssueDetailsBuilder<'a>
Creates a builder for this type with the required parameters:
source_code_location: Source code position of the property rule.property_rule_issue_reason: Reason why the property rule was discarded.
Sourcepub fn source_code_location(&self) -> &SourceCodeLocation<'a>
pub fn source_code_location(&self) -> &SourceCodeLocation<'a>
Source code position of the property rule.
Sourcepub fn property_rule_issue_reason(&self) -> &PropertyRuleIssueReason
pub fn property_rule_issue_reason(&self) -> &PropertyRuleIssueReason
Reason why the property rule was discarded.
Sourcepub fn property_value(&self) -> Option<&str>
pub fn property_value(&self) -> Option<&str>
The value of the property rule property that failed to parse
Trait Implementations§
Source§impl<'a> Clone for PropertyRuleIssueDetails<'a>
impl<'a> Clone for PropertyRuleIssueDetails<'a>
Source§fn clone(&self) -> PropertyRuleIssueDetails<'a>
fn clone(&self) -> PropertyRuleIssueDetails<'a>
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<'a> Debug for PropertyRuleIssueDetails<'a>
impl<'a> Debug for PropertyRuleIssueDetails<'a>
Source§impl<'a> Default for PropertyRuleIssueDetails<'a>
impl<'a> Default for PropertyRuleIssueDetails<'a>
Source§fn default() -> PropertyRuleIssueDetails<'a>
fn default() -> PropertyRuleIssueDetails<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for PropertyRuleIssueDetails<'a>
impl<'de, 'a> Deserialize<'de> for PropertyRuleIssueDetails<'a>
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<'a> Freeze for PropertyRuleIssueDetails<'a>
impl<'a> RefUnwindSafe for PropertyRuleIssueDetails<'a>
impl<'a> Send for PropertyRuleIssueDetails<'a>
impl<'a> Sync for PropertyRuleIssueDetails<'a>
impl<'a> Unpin for PropertyRuleIssueDetails<'a>
impl<'a> UnsafeUnpin for PropertyRuleIssueDetails<'a>
impl<'a> UnwindSafe for PropertyRuleIssueDetails<'a>
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