pub struct HandleClaimRequest {
pub nick: String,
pub slot_id: String,
pub relay_url: Option<String>,
pub card: Value,
}Fields§
§nick: StringNick the claimant wants (case-folded). Domain part is implicit: the
domain the relay’s .well-known is served from.
slot_id: StringSlot id the claimant owns on this relay (proves they allocated here).
relay_url: Option<String>Optional public-facing relay URL the relay should advertise back in
.well-known/wire/agent responses. If omitted, callers will need to
know the relay URL out-of-band.
card: ValueClaimant’s full signed agent-card (includes DID + verify_keys + optional profile).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HandleClaimRequest
impl<'de> Deserialize<'de> for HandleClaimRequest
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 Freeze for HandleClaimRequest
impl RefUnwindSafe for HandleClaimRequest
impl Send for HandleClaimRequest
impl Sync for HandleClaimRequest
impl Unpin for HandleClaimRequest
impl UnsafeUnpin for HandleClaimRequest
impl UnwindSafe for HandleClaimRequest
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