[][src]Struct spartan_lib::core::message::Message

pub struct Message { /* fields omitted */ }

Default message implementation, with support of all payload traits

Sortable implementation is compatible with TreeDatabase

Implementations

impl Message[src]

pub fn state(&self) -> &State[src]

Get current message State

pub fn time(&self) -> &Time[src]

Get message Time

Trait Implementations

impl Clone for Message[src]

impl Debug for Message[src]

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

impl Dispatchable for Message[src]

type Body = str

Body type of dispatchable message

impl Identifiable for Message[src]

type Id = Uuid

impl Serialize for Message[src]

impl Sortable for Message[src]

type Sort = Option<i64>

impl Status for Message[src]

Auto Trait Implementations

impl RefUnwindSafe for Message[src]

impl Send for Message[src]

impl Sync for Message[src]

impl Unpin for Message[src]

impl UnwindSafe for Message[src]

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<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,