pub struct Info {
pub config: Config,
pub created: OffsetDateTime,
pub state: State,
pub cluster: Option<ClusterInfo>,
pub mirror: Option<SourceInfo>,
pub sources: Vec<SourceInfo>,
/* private fields */
}
Expand description
Shows config and current state for this stream.
Fields§
§config: Config
The configuration associated with this stream.
created: OffsetDateTime
The time that this stream was created.
state: State
Various metrics associated with this stream.
cluster: Option<ClusterInfo>
Information about leader and replicas.
mirror: Option<SourceInfo>
Information about mirror config if present.
sources: Vec<SourceInfo>
Information about sources configs if present.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Info
impl<'de> Deserialize<'de> for Info
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
impl Eq for Info
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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