Struct exocore_discovery::payload::CreatePayloadResponse
source · pub struct CreatePayloadResponse {
pub pin: Pin,
pub expiration: DateTime<Utc>,
pub reply_pin: Option<Pin>,
}
Fields§
§pin: Pin
Pin of the payload
expiration: DateTime<Utc>
Time at which payload will be cleaned up from server if not consumed before.
reply_pin: Option<Pin>
If payload expects a reply, pin to be used to reply to this payload.
Trait Implementations§
source§impl<'de> Deserialize<'de> for CreatePayloadResponse
impl<'de> Deserialize<'de> for CreatePayloadResponse
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 RefUnwindSafe for CreatePayloadResponse
impl Send for CreatePayloadResponse
impl Sync for CreatePayloadResponse
impl Unpin for CreatePayloadResponse
impl UnwindSafe for CreatePayloadResponse
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