[][src]Struct streamson_lib::matcher::simple::Simple

pub struct Simple { /* fields omitted */ }

Based on orignal path format {"People"}[0]{"Height"}

It matches {"People"}[0]{"Height"} - height of the first person It matches {"People"}[]{"Height"} - matches the height of all people It matches {"People"}[0]{} - matches all attributes of the first person

Implementations

impl Simple[src]

pub fn new(path_expr: &str) -> Result<Self, Matcher>[src]

Creates new simple matcher

Arguments

  • path_expr - path expression (e.g. {"users"}[0]{"addresses"}{})

Trait Implementations

impl Clone for Simple[src]

impl Debug for Simple[src]

impl Default for Simple[src]

impl FromStr for Simple[src]

type Err = Matcher

The associated error which can be returned from parsing.

impl MatchMaker for Simple[src]

Auto Trait Implementations

impl RefUnwindSafe for Simple

impl Send for Simple

impl Sync for Simple

impl Unpin for Simple

impl UnwindSafe for Simple

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.