Struct graph_rs_sdk::sites::SitesContentTypesApiClient
source · pub struct SitesContentTypesApiClient { /* private fields */ }
Implementations§
source§impl SitesContentTypesApiClient
impl SitesContentTypesApiClient
pub fn id<ID: AsRef<str>>(&self, id: ID) -> SitesContentTypesIdApiClient
source§impl SitesContentTypesApiClient
impl SitesContentTypesApiClient
sourcepub fn create_content_types<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn create_content_types<B: BodyExt>(&self, body: B) -> RequestHandler
Create a content type
sourcepub fn list_content_types(&self) -> RequestHandler
pub fn list_content_types(&self) -> RequestHandler
List contentTypes in a site
sourcepub fn get_content_types_count(&self) -> RequestHandler
pub fn get_content_types_count(&self) -> RequestHandler
Get the number of the resource
sourcepub fn add_copy<B: BodyExt>(&self, body: B) -> RequestHandler
pub fn add_copy<B: BodyExt>(&self, body: B) -> RequestHandler
Invoke action addCopy
sourcepub fn add_copy_from_content_type_hub<B: BodyExt>(
&self,
body: B
) -> RequestHandler
pub fn add_copy_from_content_type_hub<B: BodyExt>( &self, body: B ) -> RequestHandler
Invoke action addCopyFromContentTypeHub
sourcepub fn get_compatible_hub_content_types(&self) -> RequestHandler
pub fn get_compatible_hub_content_types(&self) -> RequestHandler
Invoke function getCompatibleHubContentTypes
Trait Implementations§
source§impl Debug for SitesContentTypesApiClient
impl Debug for SitesContentTypesApiClient
source§impl ODataQuery for SitesContentTypesApiClient
impl ODataQuery for SitesContentTypesApiClient
fn append_query_pair<KV: AsRef<str>>(self, key: KV, value: KV) -> Self
source§fn count<S>(self, value: S) -> Self
fn count<S>(self, value: S) -> Self
Retrieves the total count of matching resources.
See the docs
source§fn select(self, value: &[&str]) -> Self
fn select(self, value: &[&str]) -> Self
Filters properties (columns).
See the docs
source§fn expand(self, value: &[&str]) -> Self
fn expand(self, value: &[&str]) -> Self
Retrieves related resources.
See the docs
source§fn filter(self, value: &[&str]) -> Self
fn filter(self, value: &[&str]) -> Self
Filters results (rows).
See the docs
source§fn order_by(self, value: &[&str]) -> Self
fn order_by(self, value: &[&str]) -> Self
Orders results.
See the docs
source§fn search<S>(self, value: S) -> Self
fn search<S>(self, value: S) -> Self
Returns results based on search criteria.
See the docs
source§fn format<S>(self, value: S) -> Self
fn format<S>(self, value: S) -> Self
Returns the results in the specified media format.
See the docs
source§fn skip<S>(self, value: S) -> Self
fn skip<S>(self, value: S) -> Self
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
fn skip_token<S>(self, value: S) -> Self
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
fn delta_token<S>(self, value: S) -> Self
Retrieves the next page of results from result sets that span multiple pages.
(Some APIs use $skip instead.)
See the docs
Auto Trait Implementations§
impl !RefUnwindSafe for SitesContentTypesApiClient
impl Send for SitesContentTypesApiClient
impl Sync for SitesContentTypesApiClient
impl Unpin for SitesContentTypesApiClient
impl !UnwindSafe for SitesContentTypesApiClient
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