pub struct DocApiCustomXmlParts<'a, I: Invoker> { /* private fields */ }Implementations§
Source§impl<'a, I: Invoker> DocApiCustomXmlParts<'a, I>
impl<'a, I: Invoker> DocApiCustomXmlParts<'a, I>
pub fn new(invoker: &'a I) -> Self
Sourcepub fn create<'call>(
&'call self,
params: &'call DocCustomXmlPartsCreateBoundParams,
) -> impl Future<Output = Result<DocCustomXmlPartsCreateResult>> + Send + 'call
pub fn create<'call>( &'call self, params: &'call DocCustomXmlPartsCreateBoundParams, ) -> impl Future<Output = Result<DocCustomXmlPartsCreateResult>> + Send + 'call
Add a new Custom XML Data Storage Part to the document. Generates a fresh itemID GUID and emits the Properties Part.
Sourcepub async fn create_with_options(
&self,
params: &DocCustomXmlPartsCreateBoundParams,
options: InvokeOptions,
) -> Result<DocCustomXmlPartsCreateResult>
pub async fn create_with_options( &self, params: &DocCustomXmlPartsCreateBoundParams, options: InvokeOptions, ) -> Result<DocCustomXmlPartsCreateResult>
Add a new Custom XML Data Storage Part to the document. Generates a fresh itemID GUID and emits the Properties Part.
Sourcepub fn get<'call>(
&'call self,
params: &'call DocCustomXmlPartsGetBoundParams,
) -> impl Future<Output = Result<DocCustomXmlPartsGetResult>> + Send + 'call
pub fn get<'call>( &'call self, params: &'call DocCustomXmlPartsGetBoundParams, ) -> impl Future<Output = Result<DocCustomXmlPartsGetResult>> + Send + 'call
Get a single Custom XML Data Storage Part by itemID or package part name, including its full content. v1 partName targeting is limited to Word-style customXml/itemN.xml paths.
Sourcepub async fn get_with_options(
&self,
params: &DocCustomXmlPartsGetBoundParams,
options: InvokeOptions,
) -> Result<DocCustomXmlPartsGetResult>
pub async fn get_with_options( &self, params: &DocCustomXmlPartsGetBoundParams, options: InvokeOptions, ) -> Result<DocCustomXmlPartsGetResult>
Get a single Custom XML Data Storage Part by itemID or package part name, including its full content. v1 partName targeting is limited to Word-style customXml/itemN.xml paths.
Sourcepub fn list<'call>(
&'call self,
params: &'call DocCustomXmlPartsListBoundParams,
) -> impl Future<Output = Result<DocCustomXmlPartsListResult>> + Send + 'call
pub fn list<'call>( &'call self, params: &'call DocCustomXmlPartsListBoundParams, ) -> impl Future<Output = Result<DocCustomXmlPartsListResult>> + Send + 'call
List Custom XML Data Storage Parts in the document, optionally filtered by root namespace or schema reference.
Sourcepub async fn list_with_options(
&self,
params: &DocCustomXmlPartsListBoundParams,
options: InvokeOptions,
) -> Result<DocCustomXmlPartsListResult>
pub async fn list_with_options( &self, params: &DocCustomXmlPartsListBoundParams, options: InvokeOptions, ) -> Result<DocCustomXmlPartsListResult>
List Custom XML Data Storage Parts in the document, optionally filtered by root namespace or schema reference.
Sourcepub fn patch<'call>(
&'call self,
params: &'call DocCustomXmlPartsPatchBoundParams,
) -> impl Future<Output = Result<DocCustomXmlPartsPatchResult>> + Send + 'call
pub fn patch<'call>( &'call self, params: &'call DocCustomXmlPartsPatchBoundParams, ) -> impl Future<Output = Result<DocCustomXmlPartsPatchResult>> + Send + 'call
Replace the content and/or schemaRefs of an existing Custom XML Data Storage Part. At least one of content or schemaRefs is required. v1 partName targeting is limited to Word-style customXml/itemN.xml paths.
Sourcepub async fn patch_with_options(
&self,
params: &DocCustomXmlPartsPatchBoundParams,
options: InvokeOptions,
) -> Result<DocCustomXmlPartsPatchResult>
pub async fn patch_with_options( &self, params: &DocCustomXmlPartsPatchBoundParams, options: InvokeOptions, ) -> Result<DocCustomXmlPartsPatchResult>
Replace the content and/or schemaRefs of an existing Custom XML Data Storage Part. At least one of content or schemaRefs is required. v1 partName targeting is limited to Word-style customXml/itemN.xml paths.
Sourcepub fn remove<'call>(
&'call self,
params: &'call DocCustomXmlPartsRemoveBoundParams,
) -> impl Future<Output = Result<DocCustomXmlPartsRemoveResult>> + Send + 'call
pub fn remove<'call>( &'call self, params: &'call DocCustomXmlPartsRemoveBoundParams, ) -> impl Future<Output = Result<DocCustomXmlPartsRemoveResult>> + Send + 'call
Remove a Custom XML Data Storage Part and clean up all linked package files (item, props, rels, content-types entry). v1 partName targeting is limited to Word-style customXml/itemN.xml paths.
Sourcepub async fn remove_with_options(
&self,
params: &DocCustomXmlPartsRemoveBoundParams,
options: InvokeOptions,
) -> Result<DocCustomXmlPartsRemoveResult>
pub async fn remove_with_options( &self, params: &DocCustomXmlPartsRemoveBoundParams, options: InvokeOptions, ) -> Result<DocCustomXmlPartsRemoveResult>
Remove a Custom XML Data Storage Part and clean up all linked package files (item, props, rels, content-types entry). v1 partName targeting is limited to Word-style customXml/itemN.xml paths.