pub struct PropertyRuleIssueDetailsBuilder { /* private fields */ }Expand description
Builder for PropertyRuleIssueDetails.
Implementations§
Source§impl PropertyRuleIssueDetailsBuilder
impl PropertyRuleIssueDetailsBuilder
Sourcepub fn source_code_location<VALUE: Into<SourceCodeLocation>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn source_code_location<VALUE: Into<SourceCodeLocation>>( &mut self, value: VALUE, ) -> &mut Self
Source code position of the property rule.
Sourcepub fn property_rule_issue_reason<VALUE: Into<PropertyRuleIssueReason>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn property_rule_issue_reason<VALUE: Into<PropertyRuleIssueReason>>( &mut self, value: VALUE, ) -> &mut Self
Reason why the property rule was discarded.
Sourcepub fn property_value<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn property_value<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The value of the property rule property that failed to parse
Sourcepub fn build(
&self,
) -> Result<PropertyRuleIssueDetails, PropertyRuleIssueDetailsBuilderError>
pub fn build( &self, ) -> Result<PropertyRuleIssueDetails, PropertyRuleIssueDetailsBuilderError>
Trait Implementations§
Source§impl Clone for PropertyRuleIssueDetailsBuilder
impl Clone for PropertyRuleIssueDetailsBuilder
Source§fn clone(&self) -> PropertyRuleIssueDetailsBuilder
fn clone(&self) -> PropertyRuleIssueDetailsBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PropertyRuleIssueDetailsBuilder
impl RefUnwindSafe for PropertyRuleIssueDetailsBuilder
impl Send for PropertyRuleIssueDetailsBuilder
impl Sync for PropertyRuleIssueDetailsBuilder
impl Unpin for PropertyRuleIssueDetailsBuilder
impl UnsafeUnpin for PropertyRuleIssueDetailsBuilder
impl UnwindSafe for PropertyRuleIssueDetailsBuilder
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