Struct openethereum::cli::Ws
source · [−]struct Ws {
disable: Option<bool>,
port: Option<u16>,
interface: Option<String>,
apis: Option<Vec<String>>,
origins: Option<Vec<String>>,
hosts: Option<Vec<String>>,
max_connections: Option<usize>,
max_payload: Option<usize>,
}
Fields
disable: Option<bool>
port: Option<u16>
interface: Option<String>
apis: Option<Vec<String>>
origins: Option<Vec<String>>
hosts: Option<Vec<String>>
max_connections: Option<usize>
max_payload: Option<usize>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Ws
impl<'de> Deserialize<'de> for Ws
sourcefn 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 StructuralPartialEq for Ws
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more