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