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: StringIdentifies a peer connected with this DataConnection
buffersize: usizeShows size of buffer
label: StringThe optional label passed in or assigned by SkyWay when the connection was initiated.
metadata: StringAny type of metadata associated with the connection, passed in by whoever initiated the connection.
open: boolThis is true if the connection is open and ready for read/write.
reliable: boolWhether the underlying data channels are reliable; defined when the connection was initiated.
serialization: StringThe serialization format of the data sent over the connection. Can be BINARY (default), BINARY_UTF8, JSON, or NONE.
type: StringFixed 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