pub enum ShortSaleSlot {
None = 0,
Broker = 1,
ThirdParty = 2,
}Expand description
Specifies the short sale slot (for institutional short sales).
Variants§
None = 0
Not a short sale.
Broker = 1
Broker holds shares.
ThirdParty = 2
Shares come from elsewhere (third party). Use with designated_location field.
Trait Implementations§
Source§impl Clone for ShortSaleSlot
impl Clone for ShortSaleSlot
Source§fn clone(&self) -> ShortSaleSlot
fn clone(&self) -> ShortSaleSlot
Returns a duplicate 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 ShortSaleSlot
impl Debug for ShortSaleSlot
Source§impl Default for ShortSaleSlot
impl Default for ShortSaleSlot
Source§fn default() -> ShortSaleSlot
fn default() -> ShortSaleSlot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShortSaleSlot
impl<'de> Deserialize<'de> for ShortSaleSlot
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
Source§impl From<ShortSaleSlot> for i32
impl From<ShortSaleSlot> for i32
Source§fn from(value: ShortSaleSlot) -> i32
fn from(value: ShortSaleSlot) -> i32
Converts to this type from the input type.
Source§impl From<i32> for ShortSaleSlot
impl From<i32> for ShortSaleSlot
Source§impl PartialEq for ShortSaleSlot
impl PartialEq for ShortSaleSlot
Source§impl Serialize for ShortSaleSlot
impl Serialize for ShortSaleSlot
impl Copy for ShortSaleSlot
impl Eq for ShortSaleSlot
impl StructuralPartialEq for ShortSaleSlot
Auto Trait Implementations§
impl Freeze for ShortSaleSlot
impl RefUnwindSafe for ShortSaleSlot
impl Send for ShortSaleSlot
impl Sync for ShortSaleSlot
impl Unpin for ShortSaleSlot
impl UnsafeUnpin for ShortSaleSlot
impl UnwindSafe for ShortSaleSlot
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