Struct google_pubsub1::ReceivedMessage [−][src]
pub struct ReceivedMessage { pub ack_id: Option<String>, pub message: Option<PubsubMessage>, }
A message and its corresponding acknowledgment ID.
This type is not used in any activity, and only used as part of another schema.
Fields
ack_id: Option<String>
This ID can be used to acknowledge the received message.
message: Option<PubsubMessage>
The message.
Trait Implementations
impl Default for ReceivedMessage
[src]
impl Default for ReceivedMessage
fn default() -> ReceivedMessage
[src]
fn default() -> ReceivedMessage
Returns the "default value" for a type. Read more
impl Clone for ReceivedMessage
[src]
impl Clone for ReceivedMessage
fn clone(&self) -> ReceivedMessage
[src]
fn clone(&self) -> ReceivedMessage
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 ReceivedMessage
[src]
impl Debug for ReceivedMessage
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 Part for ReceivedMessage
[src]
impl Part for ReceivedMessage
Auto Trait Implementations
impl Send for ReceivedMessage
impl Send for ReceivedMessage
impl Sync for ReceivedMessage
impl Sync for ReceivedMessage