Struct tea_sdk::vmh::state::dump::ListPeersResponse
pub struct ListPeersResponse {
pub my_peer_id: String,
pub peers: Vec<String>,
}
Fields§
§my_peer_id: String
§peers: Vec<String>
Trait Implementations§
§impl Debug for ListPeersResponse
impl Debug for ListPeersResponse
§impl Default for ListPeersResponse
impl Default for ListPeersResponse
§fn default() -> ListPeersResponse
fn default() -> ListPeersResponse
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for ListPeersResponse
impl<'de> Deserialize<'de> for ListPeersResponse
§fn deserialize<__D>(
__deserializer: __D
) -> Result<ListPeersResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ListPeersResponse, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for ListPeersResponse
impl Serialize for ListPeersResponse
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ListPeersResponse
impl Send for ListPeersResponse
impl Sync for ListPeersResponse
impl Unpin for ListPeersResponse
impl UnwindSafe for ListPeersResponse
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