pub struct PatternStage {
pub pattern: Box<PatternKind>,
pub combination: PatternStageCombination,
}Expand description
One stage of an ordered composite pattern.
Fields§
§pattern: Box<PatternKind>Pattern transform sequence contributed by this stage.
combination: PatternStageCombinationRule used to combine this stage with preceding stages.
Trait Implementations§
Source§impl Clone for PatternStage
impl Clone for PatternStage
Source§fn clone(&self) -> PatternStage
fn clone(&self) -> PatternStage
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 PatternStage
impl Debug for PatternStage
Source§impl<'de> Deserialize<'de> for PatternStage
impl<'de> Deserialize<'de> for PatternStage
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 JsonSchema for PatternStage
impl JsonSchema for PatternStage
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PatternStage
impl PartialEq for PatternStage
Source§impl Serialize for PatternStage
impl Serialize for PatternStage
impl StructuralPartialEq for PatternStage
Auto Trait Implementations§
impl Freeze for PatternStage
impl RefUnwindSafe for PatternStage
impl Send for PatternStage
impl Sync for PatternStage
impl Unpin for PatternStage
impl UnsafeUnpin for PatternStage
impl UnwindSafe for PatternStage
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