pub enum QueueBinding {
Sqs(SqsQueueBinding),
Pubsub(PubSubQueueBinding),
Servicebus(ServiceBusQueueBinding),
}Expand description
Binding parameters for Queue at runtime or in templates.
Variants§
Sqs(SqsQueueBinding)
AWS SQS binding
Pubsub(PubSubQueueBinding)
GCP Pub/Sub binding
Servicebus(ServiceBusQueueBinding)
Azure Service Bus binding
Implementations§
Source§impl QueueBinding
impl QueueBinding
pub fn sqs(queue_url: impl Into<BindingValue<String>>) -> Self
pub fn pubsub( topic: impl Into<BindingValue<String>>, subscription: impl Into<BindingValue<String>>, ) -> Self
pub fn service_bus( namespace: impl Into<BindingValue<String>>, queue_name: impl Into<BindingValue<String>>, ) -> Self
Trait Implementations§
Source§impl Clone for QueueBinding
impl Clone for QueueBinding
Source§fn clone(&self) -> QueueBinding
fn clone(&self) -> QueueBinding
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QueueBinding
impl Debug for QueueBinding
Source§impl<'de> Deserialize<'de> for QueueBinding
impl<'de> Deserialize<'de> for QueueBinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for QueueBinding
impl PartialEq for QueueBinding
Source§impl Serialize for QueueBinding
impl Serialize for QueueBinding
impl Eq for QueueBinding
impl StructuralPartialEq for QueueBinding
Auto Trait Implementations§
impl Freeze for QueueBinding
impl RefUnwindSafe for QueueBinding
impl Send for QueueBinding
impl Sync for QueueBinding
impl Unpin for QueueBinding
impl UnsafeUnpin for QueueBinding
impl UnwindSafe for QueueBinding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.