pub struct Envelope {
pub envelope_id: Uuid,
pub thread_id: ThreadId,
pub seq: Option<u64>,
pub epoch: u64,
pub sender: AgentIdentity,
pub kind: MessageKind,
pub created_at: DateTime<Utc>,
pub ciphertext: String,
pub nonce: String,
pub artifact: Option<ArtifactManifest>,
pub signature: String,
}Fields§
§envelope_id: Uuid§thread_id: ThreadId§seq: Option<u64>§epoch: u64§sender: AgentIdentity§kind: MessageKind§created_at: DateTime<Utc>§ciphertext: String§nonce: String§artifact: Option<ArtifactManifest>§signature: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Envelope
impl<'de> Deserialize<'de> for Envelope
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
Auto Trait Implementations§
impl Freeze for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnsafeUnpin for Envelope
impl UnwindSafe for Envelope
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