pub struct TestServiceAsyncClient<T>(/* private fields */);
Expand description

A Markdown description of the service.

Implementations§

source§

impl<T> TestServiceAsyncClient<T>
where T: AsyncClient,

source

pub async fn get_file_systems( &self, auth_: &BearerToken ) -> Result<BTreeMap<String, BackingFileSystem>, Error>

Returns a mapping from file system id to backing file system configuration.

source

pub async fn create_dataset( &self, auth_: &BearerToken, request: &CreateDatasetRequest, test_header_arg: &str ) -> Result<Dataset, Error>

source

pub async fn get_dataset( &self, auth_: &BearerToken, dataset_rid: &ResourceIdentifier ) -> Result<Option<Dataset>, Error>

source

pub async fn get_raw_data( &self, auth_: &BearerToken, dataset_rid: &ResourceIdentifier ) -> Result<T::ResponseBody, Error>

source

pub async fn get_aliased_raw_data( &self, auth_: &BearerToken, dataset_rid: &ResourceIdentifier ) -> Result<T::ResponseBody, Error>

source

pub async fn maybe_get_raw_data( &self, auth_: &BearerToken, dataset_rid: &ResourceIdentifier ) -> Result<Option<T::ResponseBody>, Error>

source

pub async fn get_aliased_string( &self, auth_: &BearerToken, dataset_rid: &ResourceIdentifier ) -> Result<AliasedString, Error>

source

pub async fn upload_raw_data<U>( &self, auth_: &BearerToken, input: U ) -> Result<(), Error>

source

pub async fn upload_aliased_raw_data<U>( &self, auth_: &BearerToken, input: U ) -> Result<(), Error>

source

pub async fn get_branches( &self, auth_: &BearerToken, dataset_rid: &ResourceIdentifier ) -> Result<BTreeSet<String>, Error>

source

pub async fn get_branches_deprecated( &self, auth_: &BearerToken, dataset_rid: &ResourceIdentifier ) -> Result<BTreeSet<String>, Error>

👎Deprecated: use getBranches instead

Gets all branches of this dataset.

source

pub async fn resolve_branch( &self, auth_: &BearerToken, dataset_rid: &ResourceIdentifier, branch: &str ) -> Result<Option<String>, Error>

source

pub async fn test_param( &self, auth_: &BearerToken, dataset_rid: &ResourceIdentifier ) -> Result<Option<String>, Error>

source

pub async fn test_query_params( &self, auth_: &BearerToken, query: &str, something: &ResourceIdentifier, optional_middle: Option<&ResourceIdentifier>, implicit: &ResourceIdentifier, set_end: &BTreeSet<String>, optional_end: Option<&ResourceIdentifier> ) -> Result<i32, Error>

source

pub async fn test_no_response_query_params( &self, auth_: &BearerToken, query: &str, something: &ResourceIdentifier, optional_middle: Option<&ResourceIdentifier>, implicit: &ResourceIdentifier, set_end: &BTreeSet<String>, optional_end: Option<&ResourceIdentifier> ) -> Result<(), Error>

source

pub async fn test_boolean(&self, auth_: &BearerToken) -> Result<bool, Error>

source

pub async fn test_double(&self, auth_: &BearerToken) -> Result<f64, Error>

source

pub async fn test_integer(&self, auth_: &BearerToken) -> Result<i32, Error>

source

pub async fn test_post_optional( &self, auth_: &BearerToken, maybe_string: Option<&str> ) -> Result<Option<String>, Error>

source

pub async fn test_optional_integer_and_double( &self, auth_: &BearerToken, maybe_integer: Option<i32>, maybe_double: Option<f64> ) -> Result<(), Error>

Trait Implementations§

source§

impl<T> AsyncService<T> for TestServiceAsyncClient<T>
where T: AsyncClient,

source§

fn new(client: T) -> Self

Creates a new service wrapping an async HTTP client.
source§

impl<T: Clone> Clone for TestServiceAsyncClient<T>

source§

fn clone(&self) -> TestServiceAsyncClient<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Debug> Debug for TestServiceAsyncClient<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<T> Freeze for TestServiceAsyncClient<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for TestServiceAsyncClient<T>
where T: RefUnwindSafe,

§

impl<T> Send for TestServiceAsyncClient<T>
where T: Send,

§

impl<T> Sync for TestServiceAsyncClient<T>
where T: Sync,

§

impl<T> Unpin for TestServiceAsyncClient<T>
where T: Unpin,

§

impl<T> UnwindSafe for TestServiceAsyncClient<T>
where T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.