pub struct Service<T>{ /* private fields */ }
Implementations§
source§impl<T> Service<T>
impl<T> Service<T>
sourcepub async fn get_recommended_did_credentials(
&self
) -> Result<Output, Error<Error>>
pub async fn get_recommended_did_credentials( &self ) -> Result<Output, Error<Error>>
Describe the credentials that should be included in the DID doc of an account that is migrating to this service.
sourcepub async fn request_plc_operation_signature(&self) -> Result<(), Error<Error>>
pub async fn request_plc_operation_signature(&self) -> Result<(), Error<Error>>
Request an email with a code to in order to request a signed PLC operation. Requires Auth.
sourcepub async fn resolve_handle(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn resolve_handle( &self, params: Parameters ) -> Result<Output, Error<Error>>
Resolves a handle (domain name) to a DID.
sourcepub async fn sign_plc_operation(
&self,
input: Input
) -> Result<Output, Error<Error>>
pub async fn sign_plc_operation( &self, input: Input ) -> Result<Output, Error<Error>>
Signs a PLC operation to update some value(s) in the requesting DID’s document.
Auto Trait Implementations§
impl<T> RefUnwindSafe for Service<T>where
T: RefUnwindSafe,
impl<T> Send for Service<T>
impl<T> Sync for Service<T>
impl<T> Unpin for Service<T>
impl<T> UnwindSafe for Service<T>where
T: RefUnwindSafe,
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