@@ -190,22 +190,22 @@ impl Instrument {
190190#[ allow( unreachable_pub) ]
191191pub struct Stream {
192192 /// The human-readable identifier of the stream.
193- pub name : Option < Cow < ' static , str > > ,
193+ pub ( crate ) name : Option < Cow < ' static , str > > ,
194194 /// Describes the purpose of the data.
195- pub description : Option < Cow < ' static , str > > ,
195+ pub ( crate ) description : Option < Cow < ' static , str > > ,
196196 /// the unit of measurement recorded.
197- pub unit : Option < Cow < ' static , str > > ,
197+ pub ( crate ) unit : Option < Cow < ' static , str > > ,
198198 /// Aggregation the stream uses for an instrument.
199- pub aggregation : Option < Aggregation > ,
199+ pub ( crate ) aggregation : Option < Aggregation > ,
200200 /// An allow-list of attribute keys that will be preserved for the stream.
201201 ///
202202 /// Any attribute recorded for the stream with a key not in this set will be
203203 /// dropped. If the set is empty, all attributes will be dropped, if `None` all
204204 /// attributes will be kept.
205- pub allowed_attribute_keys : Option < Arc < HashSet < Key > > > ,
205+ pub ( crate ) allowed_attribute_keys : Option < Arc < HashSet < Key > > > ,
206206
207207 /// Cardinality limit for the stream.
208- pub cardinality_limit : Option < usize > ,
208+ pub ( crate ) cardinality_limit : Option < usize > ,
209209}
210210
211211#[ cfg( feature = "spec_unstable_metrics_views" ) ]
0 commit comments