#[non_exhaustive]pub struct PostToConnectionInput {
pub data: Option<Blob>,
pub connection_id: Option<String>,
}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.data: Option<Blob>The data to be sent to the client specified by its connection id.
connection_id: Option<String>The identifier of the connection that a specific client is using.
Implementations§
source§impl PostToConnectionInput
impl PostToConnectionInput
sourcepub fn builder() -> PostToConnectionInputBuilder
pub fn builder() -> PostToConnectionInputBuilder
Creates a new builder-style object to manufacture PostToConnectionInput.
Trait Implementations§
source§impl Clone for PostToConnectionInput
impl Clone for PostToConnectionInput
source§fn clone(&self) -> PostToConnectionInput
fn clone(&self) -> PostToConnectionInput
Returns a copy of the value. Read more
1.0.0 · 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 PostToConnectionInput
impl Debug for PostToConnectionInput
source§impl PartialEq<PostToConnectionInput> for PostToConnectionInput
impl PartialEq<PostToConnectionInput> for PostToConnectionInput
source§fn eq(&self, other: &PostToConnectionInput) -> bool
fn eq(&self, other: &PostToConnectionInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PostToConnectionInput
Auto Trait Implementations§
impl RefUnwindSafe for PostToConnectionInput
impl Send for PostToConnectionInput
impl Sync for PostToConnectionInput
impl Unpin for PostToConnectionInput
impl UnwindSafe for PostToConnectionInput
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