Enum ql2::response::ResponseNote [−][src]
#[repr(i32)]
pub enum ResponseNote {
SequenceFeed,
AtomFeed,
OrderByLimitFeed,
UnionedFeed,
IncludesStates,
}
Expand description
ResponseNotes are used to provide information about the query response that may be useful for people writing drivers or ORMs. Currently all the notes we send indicate that a stream has certain special properties.
Variants
The stream is a changefeed stream (e.g. r.table('test').changes()
).
The stream is a point changefeed stream
(e.g. r.table('test').get(0).changes()
).
The stream is an order_by_limit changefeed stream
(e.g. r.table('test').order_by(index: 'id').limit(5).changes()
).
The stream is a union of multiple changefeed types that can’t be
collapsed to a single type
(e.g. r.table('test').changes().union(r.table('test').get(0).changes())
).
The stream is a changefeed stream and includes notes on what state
the changefeed stream is in (e.g. objects of the form {state: 'initializing'}
).
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ResponseNote
impl Send for ResponseNote
impl Sync for ResponseNote
impl Unpin for ResponseNote
impl UnwindSafe for ResponseNote
Blanket Implementations
Mutably borrows from an owned value. Read more