Struct tari_comms_dht::store_forward::StoredMessage[][src]

pub struct StoredMessage {
    pub id: i32,
    pub version: i32,
    pub origin_pubkey: Option<String>,
    pub message_type: i32,
    pub destination_pubkey: Option<String>,
    pub destination_node_id: Option<String>,
    pub header: Vec<u8>,
    pub body: Vec<u8>,
    pub is_encrypted: bool,
    pub priority: i32,
    pub stored_at: NaiveDateTime,
    pub body_hash: String,
}

Fields

id: i32version: i32origin_pubkey: Option<String>message_type: i32destination_pubkey: Option<String>destination_node_id: Option<String>header: Vec<u8>body: Vec<u8>is_encrypted: boolpriority: i32stored_at: NaiveDateTimebody_hash: String

Trait Implementations

impl Clone for StoredMessage[src]

impl Debug for StoredMessage[src]

impl HasTable for StoredMessage[src]

type Table = table

The table this type is associated with.

impl<'ident> Identifiable for &'ident StoredMessage[src]

type Id = &'ident i32

The type of this struct's identifier. Read more

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for StoredMessage where
    (i32, i32, Option<String>, i32, Option<String>, Option<String>, Vec<u8>, Vec<u8>, bool, i32, NaiveDateTime, String): Queryable<__ST, __DB>, 
[src]

type Row = <(i32, i32, Option<String>, i32, Option<String>, Option<String>, Vec<u8>, Vec<u8>, bool, i32, NaiveDateTime, String) as Queryable<__ST, __DB>>::Row

The Rust type you'd like to map from. Read more

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, U> Cast<U> for T where
    U: FromCast<T>, 

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync

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

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

impl<T> Instrument for T[src]

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

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

impl<T> IntoSql for T[src]

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> SafeBorrow<T> for T where
    T: ?Sized

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