pub struct EnrollRuntimeIdentity<'a> { /* private fields */ }Expand description
Builder for Client::enroll_runtime_identity
Implementations§
Source§impl<'a> EnrollRuntimeIdentity<'a>
impl<'a> EnrollRuntimeIdentity<'a>
pub fn new(client: &'a Client) -> Self
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<IdentityEnrollmentRequest>,
<V as TryInto<IdentityEnrollmentRequest>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<IdentityEnrollmentResponse>, Error<()>>
pub async fn send( self, ) -> Result<ResponseValue<IdentityEnrollmentResponse>, Error<()>>
Sends a POST request to /v1/identity/enroll
Trait Implementations§
Source§impl<'a> Clone for EnrollRuntimeIdentity<'a>
impl<'a> Clone for EnrollRuntimeIdentity<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for EnrollRuntimeIdentity<'a>
impl<'a> !UnwindSafe for EnrollRuntimeIdentity<'a>
impl<'a> Forget for EnrollRuntimeIdentity<'a>
impl<'a> Freeze for EnrollRuntimeIdentity<'a>
impl<'a> Move for EnrollRuntimeIdentity<'a>
impl<'a> Send for EnrollRuntimeIdentity<'a>
impl<'a> Sync for EnrollRuntimeIdentity<'a>
impl<'a> Unpin for EnrollRuntimeIdentity<'a>
impl<'a> UnsafeUnpin for EnrollRuntimeIdentity<'a>
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