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