pub struct SendResponse {
pub message_id: MessageId,
pub from: Address,
}Expand description
Answers a SendRequest. Returns the caller its own address so a
participant that just wrote immediately knows where it can be answered.
Fields§
§message_id: MessageId§from: AddressImplementations§
Trait Implementations§
Source§impl Clone for SendResponse
impl Clone for SendResponse
Source§impl Debug for SendResponse
impl Debug for SendResponse
Source§impl<'de> Deserialize<'de> for SendResponse
impl<'de> Deserialize<'de> for SendResponse
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 Eq for SendResponse
Source§impl PartialEq for SendResponse
impl PartialEq for SendResponse
Source§impl Serialize for SendResponse
impl Serialize for SendResponse
impl StructuralPartialEq for SendResponse
Auto Trait Implementations§
impl Freeze for SendResponse
impl RefUnwindSafe for SendResponse
impl Send for SendResponse
impl Sync for SendResponse
impl Unpin for SendResponse
impl UnsafeUnpin for SendResponse
impl UnwindSafe for SendResponse
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