Struct async_nats::jetstream::stream::SourceInfo
source · pub struct SourceInfo {
pub name: String,
pub lag: u64,
pub active: Option<Duration>,
pub filter_subject: Option<String>,
pub subject_transform_dest: Option<String>,
pub subject_transforms: Vec<SubjectTransform>,
}
Fields§
§name: String
Source name.
lag: u64
Number of messages this source is lagging behind.
active: Option<Duration>
Last time the source was seen active.
filter_subject: Option<String>
Filtering for the source.
subject_transform_dest: Option<String>
Source destination subject.
subject_transforms: Vec<SubjectTransform>
List of transforms.
Trait Implementations§
source§impl Clone for SourceInfo
impl Clone for SourceInfo
source§fn clone(&self) -> SourceInfo
fn clone(&self) -> SourceInfo
Returns a copy 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 SourceInfo
impl Debug for SourceInfo
source§impl<'de> Deserialize<'de> for SourceInfo
impl<'de> Deserialize<'de> for SourceInfo
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 RefUnwindSafe for SourceInfo
impl Send for SourceInfo
impl Sync for SourceInfo
impl Unpin for SourceInfo
impl UnwindSafe for SourceInfo
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