Struct exocore_discovery::payload::Payload [−][src]
pub struct Payload {
pub pin: Pin,
pub reply_pin: Option<Pin>,
pub reply_token: Option<ReplyToken>,
// some fields omitted
}
Fields
pin: Pin
Pin of the payload
reply_pin: Option<Pin>
If payload expects a reply, pin to be used to reply to this payload.
reply_token: Option<ReplyToken>
If payload expects a reply, reply token that will be
required in the ReplyPayloadRequest
to authenticate.
Implementations
Trait Implementations
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 RefUnwindSafe for Payload
impl UnwindSafe for Payload
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more