pub struct SitesContentTypesIdApiClient { /* private fields */ }

Implementations§

source§

impl SitesContentTypesIdApiClient

source

pub fn delete_content_types(&self) -> RequestHandler

Delete navigation property contentTypes for sites

source

pub fn get_content_types(&self) -> RequestHandler

Get contentTypes from sites

source

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

Update the navigation property contentTypes in sites

source

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

Invoke action associateWithHubSites

source

pub fn get_base(&self) -> RequestHandler

Get base from sites

source

pub fn list_base_types(&self) -> RequestHandler

Get baseTypes from sites

source

pub fn get_base_types_count(&self) -> RequestHandler

Get the number of the resource

source

pub fn get_base_types( &self, content_type_id_1: impl AsRef<str> ) -> RequestHandler

Get baseTypes from sites

Create new navigation property to columnLinks for sites

Get columnLinks from sites

Get the number of the resource

Delete navigation property columnLinks for sites

Get columnLinks from sites

Update the navigation property columnLinks in sites

source

pub fn list_column_positions(&self) -> RequestHandler

Get columnPositions from sites

source

pub fn get_column_positions_count(&self) -> RequestHandler

Get the number of the resource

source

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

Get columnPositions from sites

source

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

Create a columnDefinition in a content type

source

pub fn list_columns(&self) -> RequestHandler

List columnDefinitions in a content type

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 copy_to_default_content_location<B: BodyExt>( &self, body: B ) -> RequestHandler

Invoke action copyToDefaultContentLocation

source

pub fn is_published(&self) -> RequestHandler

Invoke function isPublished

source

pub fn publish(&self) -> RequestHandler

Invoke action publish

source

pub fn unpublish(&self) -> RequestHandler

Invoke action unpublish

Trait Implementations§

source§

impl ApiClientImpl for SitesContentTypesIdApiClient

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 SitesContentTypesIdApiClient

source§

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

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

impl ODataQuery for SitesContentTypesIdApiClient

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 SitesContentTypesIdApiClient

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