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.6.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
source§impl PartialEq for SourceInfo
impl PartialEq for SourceInfo
impl Eq for SourceInfo
impl StructuralPartialEq for SourceInfo
Auto Trait Implementations§
impl Freeze for SourceInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)