pub struct WebSocketEntitlements {
pub stocks: bool,
pub crypto: bool,
pub forex: bool,
}Expand description
Explicit account grants for FMP’s three WebSocket clusters.
Grants are supplied by the account owner. FMP’s FAQ describes cluster-specific entitlements and one simultaneous connection per cluster. The server remains authoritative about authentication and access.
Fields§
§stocks: boolAccess to the stocks WebSocket cluster.
crypto: boolAccess to the cryptocurrency WebSocket cluster.
forex: boolAccess to the forex WebSocket cluster.
Implementations§
Trait Implementations§
Source§impl Clone for WebSocketEntitlements
impl Clone for WebSocketEntitlements
impl Copy for WebSocketEntitlements
Source§impl Debug for WebSocketEntitlements
impl Debug for WebSocketEntitlements
Source§impl Default for WebSocketEntitlements
impl Default for WebSocketEntitlements
Source§impl<'de> Deserialize<'de> for WebSocketEntitlements
impl<'de> Deserialize<'de> for WebSocketEntitlements
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
impl Eq for WebSocketEntitlements
Source§impl PartialEq for WebSocketEntitlements
impl PartialEq for WebSocketEntitlements
Source§impl Serialize for WebSocketEntitlements
impl Serialize for WebSocketEntitlements
impl StructuralPartialEq for WebSocketEntitlements
Auto Trait Implementations§
impl Freeze for WebSocketEntitlements
impl RefUnwindSafe for WebSocketEntitlements
impl Send for WebSocketEntitlements
impl Sync for WebSocketEntitlements
impl Unpin for WebSocketEntitlements
impl UnsafeUnpin for WebSocketEntitlements
impl UnwindSafe for WebSocketEntitlements
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