Skip to main content

DocApiContentControlsChoiceList

Struct DocApiContentControlsChoiceList 

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

Implementations§

Source§

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

Source

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

Source

pub fn get_items<'call>( &'call self, params: &'call DocContentControlsChoiceListGetItemsBoundParams, ) -> impl Future<Output = Result<DocContentControlsChoiceListGetItemsResult>> + Send + 'call

Get the list items and selected value of a comboBox or dropDownList content control.

Source

pub async fn get_items_with_options( &self, params: &DocContentControlsChoiceListGetItemsBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsChoiceListGetItemsResult>

Get the list items and selected value of a comboBox or dropDownList content control.

Source

pub fn set_items<'call>( &'call self, params: &'call DocContentControlsChoiceListSetItemsBoundParams, ) -> impl Future<Output = Result<DocContentControlsChoiceListSetItemsResult>> + Send + 'call

Replace the list items of a comboBox or dropDownList content control.

Source

pub async fn set_items_with_options( &self, params: &DocContentControlsChoiceListSetItemsBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsChoiceListSetItemsResult>

Replace the list items of a comboBox or dropDownList content control.

Source

pub fn set_selected<'call>( &'call self, params: &'call DocContentControlsChoiceListSetSelectedBoundParams, ) -> impl Future<Output = Result<DocContentControlsChoiceListSetSelectedResult>> + Send + 'call

Set the selected value of a comboBox or dropDownList content control.

Source

pub async fn set_selected_with_options( &self, params: &DocContentControlsChoiceListSetSelectedBoundParams, options: InvokeOptions, ) -> Result<DocContentControlsChoiceListSetSelectedResult>

Set the selected value of a comboBox or dropDownList content control.

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.