#[non_exhaustive]pub enum CompanyRole {
Acquirer,
Target,
Seller,
Defendant,
Subject,
Counterparty,
Supplier,
Customer,
Competitor,
Mentioned,
Other(String),
}Expand description
Position of a company in the story (not price impact).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Acquirer
acquirer
Target
target
Seller
seller
Defendant
defendant
Subject
subject
Counterparty
counterparty
Supplier
supplier
Customer
customer
Competitor
competitor
Mentioned
mentioned
Other(String)
A value this SDK version does not know, kept exactly as received.
Implementations§
Source§impl CompanyRole
impl CompanyRole
pub const ACQUIRER: &'static str = "acquirer"
pub const TARGET: &'static str = "target"
pub const SELLER: &'static str = "seller"
pub const DEFENDANT: &'static str = "defendant"
pub const SUBJECT: &'static str = "subject"
pub const COUNTERPARTY: &'static str = "counterparty"
pub const SUPPLIER: &'static str = "supplier"
pub const CUSTOMER: &'static str = "customer"
pub const COMPETITOR: &'static str = "competitor"
pub const MENTIONED: &'static str = "mentioned"
Trait Implementations§
Source§impl AsRef<str> for CompanyRole
impl AsRef<str> for CompanyRole
Source§impl Clone for CompanyRole
impl Clone for CompanyRole
Source§impl Debug for CompanyRole
impl Debug for CompanyRole
Source§impl<'de> Deserialize<'de> for CompanyRole
impl<'de> Deserialize<'de> for CompanyRole
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 Display for CompanyRole
impl Display for CompanyRole
impl Eq for CompanyRole
Source§impl From<&String> for CompanyRole
impl From<&String> for CompanyRole
Source§impl From<&str> for CompanyRole
impl From<&str> for CompanyRole
Source§impl From<CompanyRole> for String
impl From<CompanyRole> for String
Source§fn from(value: CompanyRole) -> Self
fn from(value: CompanyRole) -> Self
Converts to this type from the input type.
Source§impl From<String> for CompanyRole
impl From<String> for CompanyRole
Source§impl Hash for CompanyRole
impl Hash for CompanyRole
Source§impl PartialEq for CompanyRole
impl PartialEq for CompanyRole
Source§impl PartialEq<&str> for CompanyRole
impl PartialEq<&str> for CompanyRole
Source§impl PartialEq<CompanyRole> for &str
impl PartialEq<CompanyRole> for &str
Source§impl PartialEq<str> for CompanyRole
impl PartialEq<str> for CompanyRole
Auto Trait Implementations§
impl Forget for CompanyRole
impl Freeze for CompanyRole
impl Move for CompanyRole
impl RefUnwindSafe for CompanyRole
impl Send for CompanyRolewhere
RawVecInner: Send,
impl Sync for CompanyRolewhere
RawVecInner: Sync,
impl Unpin for CompanyRole
impl UnsafeUnpin for CompanyRole
impl UnwindSafe for CompanyRolewhere
RawVecInner: UnwindSafe,
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