pub struct Stream {
pub brokers: Vec<String>,
pub config: StreamConfig,
pub endpoints: StreamEndpoints,
pub id: String,
pub key_schema: String,
pub links: Vec<StreamLink>,
pub name: String,
pub partitions: usize,
pub replication: usize,
pub serialization: String,
pub tags: Value,
pub value_schema: String,
}
Fields§
§brokers: Vec<String>
§config: StreamConfig
§endpoints: StreamEndpoints
§id: String
§key_schema: String
§links: Vec<StreamLink>
§name: String
§partitions: usize
§replication: usize
§serialization: String
§value_schema: String
Implementations§
Source§impl Stream
impl Stream
pub fn value_schema_link(&self) -> Option<&StreamLink>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stream
impl<'de> Deserialize<'de> for Stream
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 Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnwindSafe for Stream
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