pub struct HttpRegistryClaimClient { /* private fields */ }Expand description
HTTP implementation that submits platform identity claims to the auths registry.
Usage:
ⓘ
let client = HttpRegistryClaimClient::new();
let response = client.submit_claim(registry_url, &did, &proof_url).await?;
println!("{}", response.message);Implementations§
Trait Implementations§
Source§impl Default for HttpRegistryClaimClient
impl Default for HttpRegistryClaimClient
Source§impl RegistryClaimClient for HttpRegistryClaimClient
impl RegistryClaimClient for HttpRegistryClaimClient
Source§fn submit_claim(
&self,
registry_url: &str,
did: &str,
proof_url: &str,
) -> impl Future<Output = Result<ClaimResponse, PlatformError>> + Send
fn submit_claim( &self, registry_url: &str, did: &str, proof_url: &str, ) -> impl Future<Output = Result<ClaimResponse, PlatformError>> + Send
Submit a platform identity claim to the registry. Read more
Auto Trait Implementations§
impl Freeze for HttpRegistryClaimClient
impl !RefUnwindSafe for HttpRegistryClaimClient
impl Send for HttpRegistryClaimClient
impl Sync for HttpRegistryClaimClient
impl Unpin for HttpRegistryClaimClient
impl UnsafeUnpin for HttpRegistryClaimClient
impl !UnwindSafe for HttpRegistryClaimClient
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