pub struct JoinRequestStatusBody {
pub request_id: Option<Uuid>,
}Expand description
Body of the status message (DIDComm). Over REST the {id} is the
path segment; over DIDComm it travels here.
request_id is optional: omit it to ask “what is my open request?”
and the community resolves it from the authenticated applicant.
That is not a convenience. The id an applicant polls with is the
community’s, minted on submit and learned from the first correlated
reply — so an applicant whose reply was lost holds only its own
placeholder and cannot name the request at all. Requiring the id made
this poll unusable in exactly the case it exists for: a join whose
answer went missing. The response always carries request_id, so one
id-less poll also repairs the applicant’s record for every poll after.
At most one request per applicant is open at a time (the submit dedup), so “my open request” is unambiguous.
Fields§
§request_id: Option<Uuid>The community’s request id, when the applicant knows it. None
asks the community to resolve the applicant’s open request.
Trait Implementations§
Source§impl Clone for JoinRequestStatusBody
impl Clone for JoinRequestStatusBody
Source§fn clone(&self) -> JoinRequestStatusBody
fn clone(&self) -> JoinRequestStatusBody
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more