pub struct StreamHit {
pub id: String,
pub links: Vec<StreamLink>,
pub name: String,
pub partitions: usize,
pub replication: usize,
pub serialization: String,
pub tags: HashMap<String, String>,
}
Fields§
§id: String
§links: Vec<StreamLink>
§name: String
§partitions: usize
§replication: usize
§serialization: String
Implementations§
Source§impl StreamHit
impl StreamHit
pub fn value_schema_link(&self) -> Option<&StreamLink>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StreamHit
impl<'de> Deserialize<'de> for StreamHit
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 StreamHit
impl RefUnwindSafe for StreamHit
impl Send for StreamHit
impl Sync for StreamHit
impl Unpin for StreamHit
impl UnwindSafe for StreamHit
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