pub struct BucketsApiClient { /* private fields */ }

Implementations§

source§

impl BucketsApiClient

source

pub fn id<ID: AsRef<str>>(&self, id: ID) -> BucketsIdApiClient

source§

impl BucketsApiClient

source

pub fn create_buckets<B: BodyExt>(&self, body: B) -> RequestHandler

Create plannerBucket

source

pub fn list_buckets(&self) -> RequestHandler

List buckets

source

pub fn count(&self) -> RequestHandler

Get the number of the resource

Trait Implementations§

source§

impl ApiClientImpl for BucketsApiClient

source§

fn url(&self) -> Url

source§

fn render_path<S: AsRef<str>>( &self, path: S, path_params_map: &Value ) -> GraphResult<String>

source§

fn build_url<S>( &self, path: S, path_params_map: &Value ) -> Result<Url, GraphFailure>
where S: AsRef<str>,

source§

impl Debug for BucketsApiClient

source§

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

Formats the value using the given formatter. Read more
source§

impl ODataQuery for BucketsApiClient

source§

fn append_query_pair<KV: AsRef<str>>(self, key: KV, value: KV) -> Self

source§

fn count<S>(self, value: S) -> Self
where S: AsRef<str>,

Retrieves the total count of matching resources. See the docs
source§

fn select(self, value: &[&str]) -> Self

Filters properties (columns). See the docs
source§

fn expand(self, value: &[&str]) -> Self

Retrieves related resources. See the docs
source§

fn filter(self, value: &[&str]) -> Self

Filters results (rows). See the docs
source§

fn order_by(self, value: &[&str]) -> Self

Orders results. See the docs
source§

fn search<S>(self, value: S) -> Self
where S: AsRef<str>,

Returns results based on search criteria. See the docs
source§

fn format<S>(self, value: S) -> Self
where S: AsRef<str>,

Returns the results in the specified media format. See the docs
source§

fn skip<S>(self, value: S) -> Self
where S: AsRef<str>,

Indexes into a result set. Also used by some APIs to implement paging and can be used together with $top to manually page results. See the docs
source§

fn skip_token<S>(self, value: S) -> Self
where S: AsRef<str>,

Retrieves the next page of results from result sets that span multiple pages. (Some APIs use $skip instead.) See the docs
source§

fn delta_token<S>(self, value: S) -> Self
where S: AsRef<str>,

Retrieves the next page of results from result sets that span multiple pages. (Some APIs use $skip instead.) See the docs
source§

fn top<S>(self, value: S) -> Self
where S: AsRef<str>,

Sets the page size of results. See the docs
source§

impl ResourceIdentifier for BucketsApiClient

Auto Trait Implementations§

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.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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, 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.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more