pub struct NetworkConnectionResponse {
pub id: String,
pub local_channel: Option<NetworkChannel>,
pub remote_channel: Option<NetworkChannel>,
pub status: NetworkConnectionStatus,
pub local_network_id: NetworkId,
pub remote_network_id: NetworkId,
pub routing_policy: HashMap<String, NetworkConnectionRoutingPolicyValue>,
}
Fields§
§id: String
§local_channel: Option<NetworkChannel>
Deprecated - Replaced by localNetworkId
remote_channel: Option<NetworkChannel>
Deprecated - Replaced by remoteNetworkId
status: NetworkConnectionStatus
§local_network_id: NetworkId
§remote_network_id: NetworkId
§routing_policy: HashMap<String, NetworkConnectionRoutingPolicyValue>
Implementations§
Source§impl NetworkConnectionResponse
impl NetworkConnectionResponse
pub fn new( id: String, status: NetworkConnectionStatus, local_network_id: NetworkId, remote_network_id: NetworkId, routing_policy: HashMap<String, NetworkConnectionRoutingPolicyValue>, ) -> NetworkConnectionResponse
Trait Implementations§
Source§impl Clone for NetworkConnectionResponse
impl Clone for NetworkConnectionResponse
Source§fn clone(&self) -> NetworkConnectionResponse
fn clone(&self) -> NetworkConnectionResponse
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 NetworkConnectionResponse
impl Debug for NetworkConnectionResponse
Source§impl Default for NetworkConnectionResponse
impl Default for NetworkConnectionResponse
Source§fn default() -> NetworkConnectionResponse
fn default() -> NetworkConnectionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkConnectionResponse
impl<'de> Deserialize<'de> for NetworkConnectionResponse
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
impl StructuralPartialEq for NetworkConnectionResponse
Auto Trait Implementations§
impl Freeze for NetworkConnectionResponse
impl RefUnwindSafe for NetworkConnectionResponse
impl Send for NetworkConnectionResponse
impl Sync for NetworkConnectionResponse
impl Unpin for NetworkConnectionResponse
impl UnwindSafe for NetworkConnectionResponse
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