pub struct Documents { /* private fields */ }Implementations§
Source§impl Documents
impl Documents
Sourcepub async fn get_with_config(
&self,
name: impl AsRef<str>,
config: GetDocumentConfig,
) -> Result<Document>
pub async fn get_with_config( &self, name: impl AsRef<str>, config: GetDocumentConfig, ) -> Result<Document>
Sourcepub async fn delete_with_config(
&self,
name: impl AsRef<str>,
config: DeleteDocumentConfig,
) -> Result<()>
pub async fn delete_with_config( &self, name: impl AsRef<str>, config: DeleteDocumentConfig, ) -> Result<()>
Sourcepub async fn list_with_config(
&self,
parent: impl AsRef<str>,
config: ListDocumentsConfig,
) -> Result<ListDocumentsResponse>
pub async fn list_with_config( &self, parent: impl AsRef<str>, config: ListDocumentsConfig, ) -> Result<ListDocumentsResponse>
Sourcepub async fn all_with_config(
&self,
parent: impl AsRef<str>,
config: ListDocumentsConfig,
) -> Result<Vec<Document>>
pub async fn all_with_config( &self, parent: impl AsRef<str>, config: ListDocumentsConfig, ) -> Result<Vec<Document>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Documents
impl !RefUnwindSafe for Documents
impl Send for Documents
impl Sync for Documents
impl Unpin for Documents
impl UnsafeUnpin for Documents
impl !UnwindSafe for Documents
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