pub struct HostedSendRequest {
pub msg_type: String,
pub recipient: Option<String>,
pub conversation_id: String,
pub payload_hex: String,
}Expand description
Request body for POST /hosted/send (hosted-agent mode).
Fields§
§msg_type: String§recipient: Option<String>§conversation_id: String§payload_hex: StringPayload bytes as hex (hosted API requirement).
Trait Implementations§
Source§impl Debug for HostedSendRequest
impl Debug for HostedSendRequest
Auto Trait Implementations§
impl Freeze for HostedSendRequest
impl RefUnwindSafe for HostedSendRequest
impl Send for HostedSendRequest
impl Sync for HostedSendRequest
impl Unpin for HostedSendRequest
impl UnsafeUnpin for HostedSendRequest
impl UnwindSafe for HostedSendRequest
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