Struct dittolive_ditto::store::live_query::LiveQuery[][src]

pub struct LiveQuery {
    pub query: Box,
    pub collection_name: Box,
    pub subscription: Option<Box<Subscription>>,
    pub event_handler: Pin<Box<dyn EventHandler>>,
    pub id: i64,
    // some fields omitted
}

Fields

query: Boxcollection_name: Boxsubscription: Option<Box<Subscription>>

If created via observe contains the associated Subscription for the LiveQuery

event_handler: Pin<Box<dyn EventHandler>>

An OWNED event handler, which is borrowed on the other side of the FFI. As such, retain and release methods for the handler can be None.

id: i64

Implementations

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts to T by calling Into<T>::into.

Tries to convert to T by calling TryInto<T>::try_into.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.