Skip to main content

DocApiBookmarks

Struct DocApiBookmarks 

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

Implementations§

Source§

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

Source

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

Source

pub fn get<'call>( &'call self, params: &'call DocBookmarksGetBoundParams, ) -> impl Future<Output = Result<DocBookmarksGetResult>> + Send + 'call

Get detailed information about a specific bookmark.

Source

pub async fn get_with_options( &self, params: &DocBookmarksGetBoundParams, options: InvokeOptions, ) -> Result<DocBookmarksGetResult>

Get detailed information about a specific bookmark.

Source

pub fn insert<'call>( &'call self, params: &'call DocBookmarksInsertBoundParams, ) -> impl Future<Output = Result<DocBookmarksInsertResult>> + Send + 'call

Insert a new named bookmark at a target location.

Source

pub async fn insert_with_options( &self, params: &DocBookmarksInsertBoundParams, options: InvokeOptions, ) -> Result<DocBookmarksInsertResult>

Insert a new named bookmark at a target location.

Source

pub fn list<'call>( &'call self, params: &'call DocBookmarksListBoundParams, ) -> impl Future<Output = Result<DocBookmarksListResult>> + Send + 'call

List all bookmarks in the document.

Source

pub async fn list_with_options( &self, params: &DocBookmarksListBoundParams, options: InvokeOptions, ) -> Result<DocBookmarksListResult>

List all bookmarks in the document.

Source

pub fn remove<'call>( &'call self, params: &'call DocBookmarksRemoveBoundParams, ) -> impl Future<Output = Result<DocBookmarksRemoveResult>> + Send + 'call

Remove a bookmark from the document.

Source

pub async fn remove_with_options( &self, params: &DocBookmarksRemoveBoundParams, options: InvokeOptions, ) -> Result<DocBookmarksRemoveResult>

Remove a bookmark from the document.

Source

pub fn rename<'call>( &'call self, params: &'call DocBookmarksRenameBoundParams, ) -> impl Future<Output = Result<DocBookmarksRenameResult>> + Send + 'call

Rename an existing bookmark.

Source

pub async fn rename_with_options( &self, params: &DocBookmarksRenameBoundParams, options: InvokeOptions, ) -> Result<DocBookmarksRenameResult>

Rename an existing bookmark.

Auto Trait Implementations§

§

impl<'a, I> Freeze for DocApiBookmarks<'a, I>
where &'a I: Freeze,

§

impl<'a, I> RefUnwindSafe for DocApiBookmarks<'a, I>

§

impl<'a, I> Send for DocApiBookmarks<'a, I>
where &'a I: Send,

§

impl<'a, I> Sync for DocApiBookmarks<'a, I>
where &'a I: Sync,

§

impl<'a, I> Unpin for DocApiBookmarks<'a, I>
where &'a I: Unpin,

§

impl<'a, I> UnsafeUnpin for DocApiBookmarks<'a, I>

§

impl<'a, I> UnwindSafe for DocApiBookmarks<'a, I>

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.