[][src]Struct zenoh_protocol::proto::Query

pub struct Query {
    pub key: ResKey,
    pub predicate: String,
    pub qid: ZInt,
    pub target: Option<QueryTarget>,
    pub consolidation: QueryConsolidation,
}

7 6 5 4 3 2 1 0 +-+-+-+-+-+-+-+-+ |K|X|T| QUERY | +-+-+-+---------+ ~ ResKey ~ if K==1 then only numerical id +---------------+ ~ predicate ~ +---------------+ ~ qid ~ +---------------+ ~ target ~ if T==1 +---------------+ ~ consolidation ~ +---------------+

Fields

key: ResKeypredicate: Stringqid: ZInttarget: Option<QueryTarget>consolidation: QueryConsolidation

Trait Implementations

impl Clone for Query[src]

impl Debug for Query[src]

impl PartialEq<Query> for Query[src]

impl StructuralPartialEq for Query[src]

Auto Trait Implementations

impl RefUnwindSafe for Query

impl Send for Query

impl Sync for Query

impl Unpin for Query

impl UnwindSafe for Query

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