Struct google_pubsub1::PullResponse [−][src]
pub struct PullResponse { pub received_messages: Option<Vec<ReceivedMessage>>, }
Response for the Pull
method.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- subscriptions pull projects (response)
Fields
received_messages: Option<Vec<ReceivedMessage>>
Received Pub/Sub messages. The list will be empty if there are no more
messages available in the backlog. For JSON, the response can be entirely
empty. The Pub/Sub system may return fewer than the maxMessages
requested
even if there are more messages available in the backlog.
Trait Implementations
impl Default for PullResponse
[src]
impl Default for PullResponse
fn default() -> PullResponse
[src]
fn default() -> PullResponse
Returns the "default value" for a type. Read more
impl Clone for PullResponse
[src]
impl Clone for PullResponse
fn clone(&self) -> PullResponse
[src]
fn clone(&self) -> PullResponse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for PullResponse
[src]
impl Debug for PullResponse
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ResponseResult for PullResponse
[src]
impl ResponseResult for PullResponse
Auto Trait Implementations
impl Send for PullResponse
impl Send for PullResponse
impl Sync for PullResponse
impl Sync for PullResponse