pub fn new<U: Into<String>>(broker_url: U) -> Self {
        PvSimulator {
            broker_url: broker_url.into(),
            records: Vec::new(),
        }
    }
/// Creates a new `PvSimulator` processing power consumption messages recieved from the broker
/// and simulating power output values in Watt depending on the time of day.
///
/// # Parameters
///
/// * `broker_url` - the url of the broker
Creates a new `PvSimulator` processing power consumption messages recieved from the broker
and simulating power output values in Watt depending on the time of day.
Creates a new ` PvSimulator ` processing power consumption messages recieved from the broker and simulating power output values in Watt depending on the time of day .
pub fn new<U: Into<String>>(broker_url: U) -> Self {
        PvSimulator {
            broker_url: broker_url.into(),
            records: Vec::new(),
        }
    }
pub fn new < U : Into < String > > ( broker_url : U ) -> Self { PvSimulator { broker_url : broker_url . into ( ) , records : Vec :: new ( ) , } }
Creates a new `PvSimulator` processing power consumption messages recieved from the broker
and simulating power output values in Watt depending on the time of day.
Creates a new ` PvSimulator ` processing power consumption messages recieved from the broker and simulating power output values in Watt depending on the time of day .
broker_url
U
broker_url
U