pub struct Send {
pub deliver_time: Option<DateTime<Utc>>,
pub key: Option<Vec<Value>>,
pub payload: Option<Value>,
pub queue: Option<String>,
}Expand description
Arguments to send operations.
This type is not used in any activity, and only used as part of another schema.
Fields§
§deliver_time: Option<DateTime<Utc>>The time at which Spanner will begin attempting to deliver the message. If deliver_time is not set, Spanner will deliver the message immediately. If deliver_time is in the past, Spanner will replace it with a value closer to the current time.
key: Option<Vec<Value>>Required. The primary key of the message to be sent.
payload: Option<Value>The payload of the message.
queue: Option<String>Required. The queue to which the message will be sent.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Send
impl<'de> Deserialize<'de> for Send
Source§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
impl Part for Send
Auto Trait Implementations§
impl Freeze for Send
impl RefUnwindSafe for Send
impl Send for Send
impl Sync for Send
impl Unpin for Send
impl UnwindSafe for Send
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more