[][src]Struct transistor::types::CruxId

pub struct CruxId(_);

Id to use as reference in Crux, similar to ids with Uuid. This id is supposed to be a KEYWORD, Edn::Key.

Implementations

impl CruxId[src]

pub fn new(id: &str) -> Self[src]

CruxId::new receives a regular string and parses it to the Edn::Key format. CruxId::new("Jorge da Silva") -> Edn::Key(":Jorge-da-Silva")

Trait Implementations

impl Clone for CruxId[src]

impl Debug for CruxId[src]

impl Deserialize for CruxId[src]

impl Eq for CruxId[src]

impl Ord for CruxId[src]

impl PartialEq<CruxId> for CruxId[src]

impl PartialOrd<CruxId> for CruxId[src]

impl Serialize for CruxId[src]

impl StructuralEq for CruxId[src]

impl StructuralPartialEq for CruxId[src]

Auto Trait Implementations

impl RefUnwindSafe for CruxId

impl Send for CruxId

impl Sync for CruxId

impl Unpin for CruxId

impl UnwindSafe for CruxId

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<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<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.