pub struct StreamConsumerSource {
pub name: String,
pub deliver_subject: String,
}Available on crate feature
server_2_14 only.Expand description
Configures a pre-created durable consumer used for stream sourcing/mirroring. See ADR-60.
Fields§
§name: StringName of the durable consumer to use for sourcing.
deliver_subject: StringDeliver subject of the (push) consumer used for sourcing.
Implementations§
Trait Implementations§
Source§impl Clone for StreamConsumerSource
Available on crate feature jetstream only.
impl Clone for StreamConsumerSource
Available on crate feature
jetstream only.Source§fn clone(&self) -> StreamConsumerSource
fn clone(&self) -> StreamConsumerSource
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 StreamConsumerSource
Available on crate feature jetstream only.
impl Debug for StreamConsumerSource
Available on crate feature
jetstream only.Source§impl Default for StreamConsumerSource
Available on crate feature jetstream only.
impl Default for StreamConsumerSource
Available on crate feature
jetstream only.Source§fn default() -> StreamConsumerSource
fn default() -> StreamConsumerSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamConsumerSource
Available on crate feature jetstream only.
impl<'de> Deserialize<'de> for StreamConsumerSource
Available on crate feature
jetstream only.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 StreamConsumerSource
Available on crate feature jetstream only.
impl PartialEq for StreamConsumerSource
Available on crate feature
jetstream only.Source§fn eq(&self, other: &StreamConsumerSource) -> bool
fn eq(&self, other: &StreamConsumerSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StreamConsumerSource
Available on crate feature jetstream only.
impl Serialize for StreamConsumerSource
Available on crate feature
jetstream only.impl Eq for StreamConsumerSource
Available on crate feature
jetstream only.impl StructuralPartialEq for StreamConsumerSource
Available on crate feature
jetstream only.Auto Trait Implementations§
impl Freeze for StreamConsumerSource
impl RefUnwindSafe for StreamConsumerSource
impl Send for StreamConsumerSource
impl Sync for StreamConsumerSource
impl Unpin for StreamConsumerSource
impl UnsafeUnpin for StreamConsumerSource
impl UnwindSafe for StreamConsumerSource
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