pub struct DidReplyBinding {
pub prompt_body: DidMessageBody,
pub prompt_ref: DidMessageReference,
}Expand description
The prompt context a reply envelope is bound to.
Fields§
§prompt_body: DidMessageBodyPolicy-visible metadata of the prompt being answered.
prompt_ref: DidMessageReferenceStable reference to the signed prompt envelope.
Implementations§
Source§impl DidReplyBinding
impl DidReplyBinding
Sourcepub fn for_prompt(prompt: &VerifiedDidPrompt) -> Self
pub fn for_prompt(prompt: &VerifiedDidPrompt) -> Self
Bind a reply to a verified prompt.
Trait Implementations§
Source§impl Clone for DidReplyBinding
impl Clone for DidReplyBinding
Source§fn clone(&self) -> DidReplyBinding
fn clone(&self) -> DidReplyBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DidReplyBinding
impl RefUnwindSafe for DidReplyBinding
impl Send for DidReplyBinding
impl Sync for DidReplyBinding
impl Unpin for DidReplyBinding
impl UnsafeUnpin for DidReplyBinding
impl UnwindSafe for DidReplyBinding
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