pub struct AddConnectionResponse {
pub address: String,
pub connection_type: String,
}Expand description
Response for the AddConnection RPC method
Fields§
§address: StringAddress of newly added connection.
connection_type: StringType of connection opened.
Trait Implementations§
Source§impl Clone for AddConnectionResponse
impl Clone for AddConnectionResponse
Source§fn clone(&self) -> AddConnectionResponse
fn clone(&self) -> AddConnectionResponse
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 AddConnectionResponse
impl Debug for AddConnectionResponse
Source§impl<'de> Deserialize<'de> for AddConnectionResponse
impl<'de> Deserialize<'de> for AddConnectionResponse
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 AddConnectionResponse
impl PartialEq for AddConnectionResponse
Source§impl Serialize for AddConnectionResponse
impl Serialize for AddConnectionResponse
impl StructuralPartialEq for AddConnectionResponse
Auto Trait Implementations§
impl Freeze for AddConnectionResponse
impl RefUnwindSafe for AddConnectionResponse
impl Send for AddConnectionResponse
impl Sync for AddConnectionResponse
impl Unpin for AddConnectionResponse
impl UnwindSafe for AddConnectionResponse
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