SecurityBrokers
struct SecurityBrokers
Security brokers
Fields
Ask brokers
Ask brokers
Ask brokers
Bid brokers
Bid brokers
Bid brokers
Methods
new
pub fn new(inner: SecurityBrokers): SecurityBrokers
[src]
fn new(inner: _SecurityBrokers): SecurityBrokers {
let ask_brokers: [Brokers] = [];
for (let _item in inner.ask_brokers) {
ask_brokers.push(Brokers.new(_item));
}
let bid_brokers: [Brokers] = [];
for (let _item in inner.bid_brokers) {
bid_brokers.push(Brokers.new(_item));
}
return SecurityBrokers { ask_brokers, bid_brokers };
}
new
pub fn new(inner: SecurityBrokers): SecurityBrokers
[src]
fn new(inner: _SecurityBrokers): SecurityBrokers {
let ask_brokers: [Brokers] = [];
for (let _item in inner.ask_brokers) {
ask_brokers.push(Brokers.new(_item));
}
let bid_brokers: [Brokers] = [];
for (let _item in inner.bid_brokers) {
bid_brokers.push(Brokers.new(_item));
}
return SecurityBrokers { ask_brokers, bid_brokers };
}