pub struct DataConnectionStatus {
pub remote_id: String,
pub buffersize: usize,
pub label: String,
pub metadata: String,
pub open: bool,
pub reliable: bool,
pub serialization: String,
pub type: String,
}
Expand description
Response from GET /data/connections/{data_cnnection_id}/status
Fields§
§remote_id: String
Identifies a peer connected with this DataConnection
buffersize: usize
Shows size of buffer
label: String
The optional label passed in or assigned by SkyWay when the connection was initiated.
metadata: String
Any type of metadata associated with the connection, passed in by whoever initiated the connection.
open: bool
This is true if the connection is open and ready for read/write.
reliable: bool
Whether the underlying data channels are reliable; defined when the connection was initiated.
serialization: String
The serialization format of the data sent over the connection. Can be BINARY (default), BINARY_UTF8, JSON, or NONE.
type: String
Fixed value as "data"
Trait Implementations§
Source§impl Clone for DataConnectionStatus
impl Clone for DataConnectionStatus
Source§fn clone(&self) -> DataConnectionStatus
fn clone(&self) -> DataConnectionStatus
Returns a duplicate 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 DataConnectionStatus
impl Debug for DataConnectionStatus
Source§impl<'de> Deserialize<'de> for DataConnectionStatus
impl<'de> Deserialize<'de> for DataConnectionStatus
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 DataConnectionStatus
impl PartialEq for DataConnectionStatus
Source§impl Serialize for DataConnectionStatus
impl Serialize for DataConnectionStatus
impl StructuralPartialEq for DataConnectionStatus
Auto Trait Implementations§
impl Freeze for DataConnectionStatus
impl RefUnwindSafe for DataConnectionStatus
impl Send for DataConnectionStatus
impl Sync for DataConnectionStatus
impl Unpin for DataConnectionStatus
impl UnwindSafe for DataConnectionStatus
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