Trait IntoTriggerClient

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

Required Methods§

Source

fn into_trigger_client<IntoCowStr>(self, trigger_name: IntoCowStr) -> TRIGGER
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, D> IntoTriggerClient<'a, C, D, CollectionStruct<'a, C, D>, TriggerStruct<'a, C, D, CollectionStruct<'a, C, D>>> for CollectionStruct<'a, C, D>
where C: CosmosClient + Clone, D: DatabaseClient<C> + Clone,