pub struct TaskAgentMessage {
pub body: Option<String>,
pub iv: Vec<String>,
pub message_id: Option<i64>,
pub message_type: Option<String>,
}Expand description
Provides a contract for receiving messages from the task orchestrator.
Fields§
§body: Option<String>Gets or sets the body of the message. If the
iv: Vec<String>Gets or sets the initialization vector used to encrypt this message.
message_id: Option<i64>Gets or sets the message identifier.
message_type: Option<String>Gets or sets the message type, describing the data contract found in
Implementations§
Trait Implementations§
source§impl Clone for TaskAgentMessage
impl Clone for TaskAgentMessage
source§fn clone(&self) -> TaskAgentMessage
fn clone(&self) -> TaskAgentMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TaskAgentMessage
impl Debug for TaskAgentMessage
source§impl Default for TaskAgentMessage
impl Default for TaskAgentMessage
source§fn default() -> TaskAgentMessage
fn default() -> TaskAgentMessage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaskAgentMessage
impl<'de> Deserialize<'de> for TaskAgentMessage
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
source§impl PartialEq<TaskAgentMessage> for TaskAgentMessage
impl PartialEq<TaskAgentMessage> for TaskAgentMessage
source§fn eq(&self, other: &TaskAgentMessage) -> bool
fn eq(&self, other: &TaskAgentMessage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.