Skip to main content

DocApiContentControlsRepeatingSection

Struct DocApiContentControlsRepeatingSection 

Source
pub struct DocApiContentControlsRepeatingSection<'a, I: Invoker> { /* private fields */ }

Implementations§

Source§

impl<'a, I: Invoker> DocApiContentControlsRepeatingSection<'a, I>

Source

pub fn new(invoker: &'a I) -> Self

Source

pub fn clone_item<'call>( &'call self, params: &'call DocContentControlsRepeatingSectionCloneItemBoundParams, ) -> impl Future<Output = Result<DocContentControlsRepeatingSectionCloneItemResult>> + Send + 'call

Clone a repeating section item at the given index. Cloned SDTs receive new IDs.

Source

pub async fn clone_item_with_options( &self, params: &DocContentControlsRepeatingSectionCloneItemBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsRepeatingSectionCloneItemResult>

Clone a repeating section item at the given index. Cloned SDTs receive new IDs.

Source

pub fn delete_item<'call>( &'call self, params: &'call DocContentControlsRepeatingSectionDeleteItemBoundParams, ) -> impl Future<Output = Result<DocContentControlsRepeatingSectionDeleteItemResult>> + Send + 'call

Delete a repeating section item at the given index.

Source

pub async fn delete_item_with_options( &self, params: &DocContentControlsRepeatingSectionDeleteItemBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsRepeatingSectionDeleteItemResult>

Delete a repeating section item at the given index.

Source

pub fn insert_item_after<'call>( &'call self, params: &'call DocContentControlsRepeatingSectionInsertItemAfterBoundParams, ) -> impl Future<Output = Result<DocContentControlsRepeatingSectionInsertItemAfterResult>> + Send + 'call

Insert a new item after a specific index in a repeating section.

Source

pub async fn insert_item_after_with_options( &self, params: &DocContentControlsRepeatingSectionInsertItemAfterBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsRepeatingSectionInsertItemAfterResult>

Insert a new item after a specific index in a repeating section.

Source

pub fn insert_item_before<'call>( &'call self, params: &'call DocContentControlsRepeatingSectionInsertItemBeforeBoundParams, ) -> impl Future<Output = Result<DocContentControlsRepeatingSectionInsertItemBeforeResult>> + Send + 'call

Insert a new item before a specific index in a repeating section.

Source

pub async fn insert_item_before_with_options( &self, params: &DocContentControlsRepeatingSectionInsertItemBeforeBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsRepeatingSectionInsertItemBeforeResult>

Insert a new item before a specific index in a repeating section.

Source

pub fn list_items<'call>( &'call self, params: &'call DocContentControlsRepeatingSectionListItemsBoundParams, ) -> impl Future<Output = Result<DocContentControlsRepeatingSectionListItemsResult>> + Send + 'call

List the repeating section items inside a repeating section content control.

Source

pub async fn list_items_with_options( &self, params: &DocContentControlsRepeatingSectionListItemsBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsRepeatingSectionListItemsResult>

List the repeating section items inside a repeating section content control.

Source

pub fn set_allow_insert_delete<'call>( &'call self, params: &'call DocContentControlsRepeatingSectionSetAllowInsertDeleteBoundParams, ) -> impl Future<Output = Result<DocContentControlsRepeatingSectionSetAllowInsertDeleteResult>> + Send + 'call

Set the allowInsertDelete flag on a repeating section.

Source

pub async fn set_allow_insert_delete_with_options( &self, params: &DocContentControlsRepeatingSectionSetAllowInsertDeleteBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsRepeatingSectionSetAllowInsertDeleteResult>

Set the allowInsertDelete flag on a repeating section.

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.

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> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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.