Struct gapi_grpc::google::watcher::v1::Request[][src]

pub struct Request {
    pub target: String,
    pub resume_marker: Vec<u8>,
}

The message used by the client to register interest in an entity.

Fields

target: String

The target value must be a valid URL path pointing to an entity to watch. Note that the service name must be removed from the target field (e.g., the target field must say “/foo/bar”, not “myservice.googleapis.com/foo/bar”). A client is also allowed to pass system-specific parameters in the URL that are only obeyed by some implementations. Some parameters will be implementation-specific. However, some have predefined meaning and are listed here:

Normal URL encoding must be used inside target. For example, if a query parameter name or value, or the non-query parameter portion of target contains a special character, it must be %-encoded. We recommend that clients and servers use their runtime’s URL library to produce and consume target values.

resume_marker: Vec<u8>

The resume_marker specifies how much of the existing underlying state is delivered to the client when the watch request is received by the system. The client can set this marker in one of the following ways to get different semantics:

An implementation MUST support an unspecified parameter and the empty string “” marker (initial state fetching) and the “now” marker. It need not support resuming from a specific point.

Trait Implementations

impl Clone for Request[src]

impl Debug for Request[src]

impl Default for Request[src]

impl Message for Request[src]

impl PartialEq<Request> for Request[src]

impl StructuralPartialEq for Request[src]

Auto Trait Implementations

impl RefUnwindSafe for Request

impl Send for Request

impl Sync for Request

impl Unpin for Request

impl UnwindSafe for Request

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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>, 
[src]

impl<T> WithSubscriber for T[src]