#[non_exhaustive]pub struct LiveDataChannelConfig {
pub allowed_client_events: Option<LiveAllowedClientEvents>,
pub allowed_server_events: Option<LiveAllowedServerEvents>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.allowed_client_events: Option<LiveAllowedClientEvents>§allowed_server_events: Option<LiveAllowedServerEvents>§rest: RestImplementations§
Source§impl LiveDataChannelConfig
impl LiveDataChannelConfig
Sourcepub fn builder() -> LiveDataChannelConfigBuilder
pub fn builder() -> LiveDataChannelConfigBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for LiveDataChannelConfig
impl Clone for LiveDataChannelConfig
Source§impl Debug for LiveDataChannelConfig
impl Debug for LiveDataChannelConfig
Source§impl DeclaredFields for LiveDataChannelConfig
impl DeclaredFields for LiveDataChannelConfig
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for LiveDataChannelConfig
impl<'de> Deserialize<'de> for LiveDataChannelConfig
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 PartialEq for LiveDataChannelConfig
impl PartialEq for LiveDataChannelConfig
Source§impl Serialize for LiveDataChannelConfig
impl Serialize for LiveDataChannelConfig
impl StructuralPartialEq for LiveDataChannelConfig
Auto Trait Implementations§
impl Freeze for LiveDataChannelConfig
impl RefUnwindSafe for LiveDataChannelConfig
impl Send for LiveDataChannelConfig
impl Sync for LiveDataChannelConfig
impl Unpin for LiveDataChannelConfig
impl UnsafeUnpin for LiveDataChannelConfig
impl UnwindSafe for LiveDataChannelConfig
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