WatchlistGroup
struct WatchlistGroup
Watchlist group
Fields
Securities
Securities
Securities
Methods
new
pub fn new(inner: WatchlistGroup): WatchlistGroup
[src]
fn new(inner: _WatchlistGroup): WatchlistGroup {
let securities: [WatchlistSecurity] = [];
for (let _item in inner.securities) {
securities.push(WatchlistSecurity.new(_item));
}
return WatchlistGroup {
id: inner.id,
name: inner.name,
securities,
};
}
new
pub fn new(inner: WatchlistGroup): WatchlistGroup
[src]
fn new(inner: _WatchlistGroup): WatchlistGroup {
let securities: [WatchlistSecurity] = [];
for (let _item in inner.securities) {
securities.push(WatchlistSecurity.new(_item));
}
return WatchlistGroup {
id: inner.id,
name: inner.name,
securities,
};
}