pub struct ModifyWatchlistRequest {
pub id: String,
pub name: Option<String>,
pub add_symbols: Option<Vec<String>>,
pub remove_symbols: Option<Vec<String>>,
}Expand description
Request to modify a watchlist.
Fields§
§id: StringWatchlist ID
name: Option<String>Watchlist name
add_symbols: Option<Vec<String>>Watchlist symbols to add
remove_symbols: Option<Vec<String>>Watchlist symbols to remove
Trait Implementations§
Source§impl Clone for ModifyWatchlistRequest
impl Clone for ModifyWatchlistRequest
Source§fn clone(&self) -> ModifyWatchlistRequest
fn clone(&self) -> ModifyWatchlistRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModifyWatchlistRequest
impl Debug for ModifyWatchlistRequest
Source§impl<'de> Deserialize<'de> for ModifyWatchlistRequest
impl<'de> Deserialize<'de> for ModifyWatchlistRequest
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 ModifyWatchlistRequest
impl RefUnwindSafe for ModifyWatchlistRequest
impl Send for ModifyWatchlistRequest
impl Sync for ModifyWatchlistRequest
impl Unpin for ModifyWatchlistRequest
impl UnwindSafe for ModifyWatchlistRequest
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