[][src]Struct rsmq_async_lite::RsmqQueueAttributes

pub struct RsmqQueueAttributes {
    pub vt: u64,
    pub delay: u64,
    pub maxsize: i64,
    pub totalrecv: u64,
    pub totalsent: u64,
    pub created: u64,
    pub modified: u64,
    pub msgs: u64,
    pub hiddenmsgs: u64,
}

Struct defining a queue. They are set on "create_queue" and "set_queue_attributes"

Fields

vt: u64

How many seconds the message will be hidden when is received by a client

delay: u64

How many second will take until the message is delivered to a client since it was sent

maxsize: i64

Max size of the message in bytes in the queue

totalrecv: u64

Number of messages received by the queue

totalsent: u64

Number of messages sent by the queue

created: u64

When was this queue created. Timestamp (epoch in seconds)

modified: u64

When was this queue last modified. Timestamp (epoch in seconds)

msgs: u64

How many messages the queue contains

hiddenmsgs: u64

How many messages are hidden from the queue. This number depends of the "vt" attribute and messages with a different hidden time modified by "change_message_visibility" method

Trait Implementations

impl Clone for RsmqQueueAttributes[src]

impl Debug for RsmqQueueAttributes[src]

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

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