pub struct ServerConfigurationData { /* private fields */ }Expand description
Server configuration data received from the RPC server.
Implementations§
Source§impl ServerConfigurationData
impl ServerConfigurationData
Sourcepub fn api_endpoint(&self) -> &str
pub fn api_endpoint(&self) -> &str
The API endpoint for the RPC server.
Sourcepub fn environment(&self) -> &str
pub fn environment(&self) -> &str
The environment for the RPC server.
Trait Implementations§
Source§impl Clone for ServerConfigurationData
impl Clone for ServerConfigurationData
Source§fn clone(&self) -> ServerConfigurationData
fn clone(&self) -> ServerConfigurationData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServerConfigurationData
impl Debug for ServerConfigurationData
Source§impl<'de> Deserialize<'de> for ServerConfigurationData
impl<'de> Deserialize<'de> for ServerConfigurationData
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 ServerConfigurationData
impl RefUnwindSafe for ServerConfigurationData
impl Send for ServerConfigurationData
impl Sync for ServerConfigurationData
impl Unpin for ServerConfigurationData
impl UnsafeUnpin for ServerConfigurationData
impl UnwindSafe for ServerConfigurationData
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