pub struct PeerJsConfig {
pub host: String,
pub path: String,
pub port: i32,
pub secure: bool,
}Expand description
PeerJsConfig
JSON schema
{
"type": "object",
"required": [
"host",
"path",
"port",
"secure"
],
"properties": {
"host": {
"type": "string"
},
"path": {
"type": "string"
},
"port": {
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"secure": {
"type": "boolean"
}
}
}Fields§
§host: String§path: String§port: i32§secure: boolTrait Implementations§
Source§impl Clone for PeerJsConfig
impl Clone for PeerJsConfig
Source§fn clone(&self) -> PeerJsConfig
fn clone(&self) -> PeerJsConfig
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 PeerJsConfig
impl Debug for PeerJsConfig
Source§impl<'de> Deserialize<'de> for PeerJsConfig
impl<'de> Deserialize<'de> for PeerJsConfig
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 PeerJsConfig
impl RefUnwindSafe for PeerJsConfig
impl Send for PeerJsConfig
impl Sync for PeerJsConfig
impl Unpin for PeerJsConfig
impl UnsafeUnpin for PeerJsConfig
impl UnwindSafe for PeerJsConfig
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