pub struct GetConfig<'a> { /* private fields */ }
Expand description
Builder for Client::get_config
Implementations§
Source§impl<'a> GetConfig<'a>
impl<'a> GetConfig<'a>
pub fn new(client: &'a Client) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<Configuration>, Error<ErrorResponse>>
pub async fn send( self, ) -> Result<ResponseValue<Configuration>, Error<ErrorResponse>>
Sends a GET
request to /v0/config
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GetConfig<'a>
impl<'a> !RefUnwindSafe for GetConfig<'a>
impl<'a> Send for GetConfig<'a>
impl<'a> Sync for GetConfig<'a>
impl<'a> Unpin for GetConfig<'a>
impl<'a> !UnwindSafe for GetConfig<'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