pub struct CustomStringRule {
pub pattern: String,
pub match_type: CustomStringMatch,
pub scope: CustomStringScope,
}Fields§
§pattern: String§match_type: CustomStringMatch§scope: CustomStringScopeTrait Implementations§
Source§impl Clone for CustomStringRule
impl Clone for CustomStringRule
Source§fn clone(&self) -> CustomStringRule
fn clone(&self) -> CustomStringRule
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 CustomStringRule
impl Debug for CustomStringRule
Source§impl<'de> Deserialize<'de> for CustomStringRule
impl<'de> Deserialize<'de> for CustomStringRule
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 PartialEq for CustomStringRule
impl PartialEq for CustomStringRule
Source§fn eq(&self, other: &CustomStringRule) -> bool
fn eq(&self, other: &CustomStringRule) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CustomStringRule
impl Serialize for CustomStringRule
impl Eq for CustomStringRule
impl StructuralPartialEq for CustomStringRule
Auto Trait Implementations§
impl Freeze for CustomStringRule
impl RefUnwindSafe for CustomStringRule
impl Send for CustomStringRule
impl Sync for CustomStringRule
impl Unpin for CustomStringRule
impl UnsafeUnpin for CustomStringRule
impl UnwindSafe for CustomStringRule
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