Trait IntoCollectionClient

Source
pub trait IntoCollectionClient<'a, C, D, COLL>:
    Debug
    + Send
    + Sync
where C: CosmosClient, D: DatabaseClient<C>, COLL: CollectionClient<C, D>,
{ // Required method fn into_collection_client<IntoCowStr>( self, collection_name: IntoCowStr, ) -> COLL where IntoCowStr: Into<Cow<'a, str>>; }

Required Methods§

Source

fn into_collection_client<IntoCowStr>(self, collection_name: IntoCowStr) -> COLL
where IntoCowStr: Into<Cow<'a, str>>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a, C> IntoCollectionClient<'a, C, DatabaseStruct<'a, C>, CollectionStruct<'a, C, DatabaseStruct<'a, C>>> for DatabaseStruct<'a, C>
where C: CosmosClient + Clone,