Struct async_nats::jetstream::stream::Info
source · pub struct Info {
pub config: Config,
pub created: OffsetDateTime,
pub state: State,
pub cluster: Option<ClusterInfo>,
}
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
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