pub struct BootstrapApi { /* private fields */ }Expand description
First-time platform setup
Implementations§
Source§impl BootstrapApi
impl BootstrapApi
Sourcepub async fn bootstrap(&self, body: &BootstrapRequest) -> Result<Value>
pub async fn bootstrap(&self, body: &BootstrapRequest) -> Result<Value>
Bootstrap the platform (first-time setup)
POST /api/v1/bootstrap
Trait Implementations§
Source§impl Clone for BootstrapApi
impl Clone for BootstrapApi
Source§fn clone(&self) -> BootstrapApi
fn clone(&self) -> BootstrapApi
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for BootstrapApi
impl !UnwindSafe for BootstrapApi
impl Freeze for BootstrapApi
impl Send for BootstrapApi
impl Sync for BootstrapApi
impl Unpin for BootstrapApi
impl UnsafeUnpin for BootstrapApi
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