pub struct SitesIdApiClient { /* private fields */ }

Implementations§

source§

impl SitesIdApiClient

source

pub fn onenote(&self) -> OnenoteApiClient

source

pub fn lists(&self) -> SitesListsApiClient

source

pub fn items(&self) -> SitesItemsApiClient

source

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

source

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

source

pub fn drive(&self) -> DefaultDriveApiClient

source

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

source

pub fn content_types(&self) -> SitesContentTypesApiClient

source

pub fn term_stores(&self) -> TermStoresApiClient

source

pub fn term_store(&self) -> TermStoreApiClient

source

pub fn get_site(&self) -> RequestHandler

Get a site resource

source

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

Update entity in sites

source

pub fn get_analytics(&self) -> RequestHandler

Get analytics from sites

source

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

Create a columnDefinition in a site

source

pub fn list_columns(&self) -> RequestHandler

List columns in a site

source

pub fn get_columns_count(&self) -> RequestHandler

Get the number of the resource

source

pub fn delete_columns( &self, column_definition_id: impl AsRef<str> ) -> RequestHandler

Delete navigation property columns for sites

source

pub fn get_columns( &self, column_definition_id: impl AsRef<str> ) -> RequestHandler

Get columns from sites

source

pub fn update_columns<B: BodyExt>( &self, column_definition_id: impl AsRef<str>, body: B ) -> RequestHandler

Update the navigation property columns in sites

source

pub fn get_source_column( &self, column_definition_id: impl AsRef<str> ) -> RequestHandler

Get sourceColumn from sites

source

pub fn get_drive(&self) -> RequestHandler

Get Drive

source

pub fn list_drives(&self) -> RequestHandler

List available drives

source

pub fn get_drives_count(&self) -> RequestHandler

Get the number of the resource

source

pub fn get_drives(&self, drive_id: impl AsRef<str>) -> RequestHandler

Get drives from sites

source

pub fn list_external_columns(&self) -> RequestHandler

Get externalColumns from sites

source

pub fn get_external_columns_count(&self) -> RequestHandler

Get the number of the resource

source

pub fn get_external_columns( &self, column_definition_id: impl AsRef<str> ) -> RequestHandler

Get externalColumns from sites

source

pub fn site( &self, start_date_time: impl AsRef<str>, end_date_time: impl AsRef<str>, interval: impl AsRef<str> ) -> RequestHandler

Invoke function getActivitiesByInterval

source

pub fn get_applicable_content_types_for_list( &self, list_id: impl AsRef<str> ) -> RequestHandler

Invoke function getApplicableContentTypesForList

source

pub fn get_by_path(&self, path: impl AsRef<str>) -> RequestHandler

Invoke function getByPath

source

pub fn list_items(&self) -> RequestHandler

Get items from sites

source

pub fn get_items_count(&self) -> RequestHandler

Get the number of the resource

source

pub fn get_items(&self, base_item_id: impl AsRef<str>) -> RequestHandler

Get items from sites

source

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

Create new navigation property to operations for sites

source

pub fn list_operations(&self) -> RequestHandler

List operations on a site

source

pub fn get_operations_count(&self) -> RequestHandler

Get the number of the resource

source

pub fn delete_operations( &self, rich_long_running_operation_id: impl AsRef<str> ) -> RequestHandler

Delete navigation property operations for sites

source

pub fn get_operations( &self, rich_long_running_operation_id: impl AsRef<str> ) -> RequestHandler

Get operations from sites

source

pub fn update_operations<B: BodyExt>( &self, rich_long_running_operation_id: impl AsRef<str>, body: B ) -> RequestHandler

Update the navigation property operations in sites

source

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

Create permission

source

pub fn list_permissions(&self) -> RequestHandler

List permissions

source

pub fn get_permissions_count(&self) -> RequestHandler

Get the number of the resource

source

pub fn delete_permissions( &self, permission_id: impl AsRef<str> ) -> RequestHandler

Delete navigation property permissions for sites

source

pub fn get_permissions(&self, permission_id: impl AsRef<str>) -> RequestHandler

Get permissions from sites

source

pub fn update_permissions<B: BodyExt>( &self, permission_id: impl AsRef<str>, body: B ) -> RequestHandler

Update the navigation property permissions in sites

source

pub fn grant<B: BodyExt>( &self, permission_id: impl AsRef<str>, body: B ) -> RequestHandler

Invoke action grant

source

pub fn list_sites(&self) -> RequestHandler

Enumerate subsites

source

pub fn get_sites_count(&self) -> RequestHandler

Get the number of the resource

source

pub fn get_sites(&self, site_id_1: impl AsRef<str>) -> RequestHandler

Get sites from sites

Trait Implementations§

source§

impl ApiClientImpl for SitesIdApiClient

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 SitesIdApiClient

source§

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

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

impl ODataQuery for SitesIdApiClient

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 SitesIdApiClient

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