[][src]Struct actyxos_sdk::event::SourceId

pub struct SourceId(_);

A source ID uniquely identifies one ActyxOS node

You can obtain the node’s source ID using EventService::node_id. It is mostly used in creating specific event stream queries involving Subscription::local.

Implementations

impl SourceId[src]

pub fn new(s: String) -> Result<Self, ParseError>[src]

pub fn as_str(&self) -> &str[src]

pub fn is_wildcard(&self) -> bool[src]

pub fn is_empty(&self) -> bool[src]

true if the string representation of the source id is the empty string

Trait Implementations

impl Abomonation for SourceId[src]

impl Clone for SourceId[src]

impl Copy for SourceId[src]

impl Debug for SourceId[src]

impl<'de> Deserialize<'de> for SourceId[src]

impl Display for SourceId[src]

impl Eq for SourceId[src]

impl FromStr for SourceId[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl Hash for SourceId[src]

impl Ord for SourceId[src]

impl PartialEq<SourceId> for SourceId[src]

impl PartialOrd<SourceId> for SourceId[src]

impl Serialize for SourceId[src]

impl StructuralEq for SourceId[src]

impl StructuralPartialEq for SourceId[src]

impl<'_> TryFrom<&'_ str> for SourceId[src]

type Error = ParseError

The type returned in the event of a conversion error.

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

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

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.