pub enum DestinationAttributes {
Webhook(WebhookAttributes),
S3(S3Attributes),
Azure(AzureAttributes),
Postgres(PostgresAttributes),
Kafka(KafkaAttributes),
}Expand description
Destination-specific configuration for a stream. Exactly one variant selects where and how batches are delivered.
Variants§
Webhook(WebhookAttributes)
HTTP webhook endpoint that receives batches in real time.
S3(S3Attributes)
S3-compatible object storage for archival or batch processing.
Azure(AzureAttributes)
Azure Blob Storage destination.
Postgres(PostgresAttributes)
PostgreSQL database destination.
Kafka(KafkaAttributes)
Kafka topic destination.
Implementations§
Source§impl DestinationAttributes
impl DestinationAttributes
pub fn tag(&self) -> StreamDestination
Trait Implementations§
Source§impl Clone for DestinationAttributes
impl Clone for DestinationAttributes
Source§fn clone(&self) -> DestinationAttributes
fn clone(&self) -> DestinationAttributes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DestinationAttributes
impl Debug for DestinationAttributes
Source§impl<'de> Deserialize<'de> for DestinationAttributes
impl<'de> Deserialize<'de> for DestinationAttributes
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
Auto Trait Implementations§
impl Freeze for DestinationAttributes
impl RefUnwindSafe for DestinationAttributes
impl Send for DestinationAttributes
impl Sync for DestinationAttributes
impl Unpin for DestinationAttributes
impl UnsafeUnpin for DestinationAttributes
impl UnwindSafe for DestinationAttributes
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