pub struct ListConnectionsResponse {
pub connections: Vec<ConnectionInfo>,
}Expand description
ListConnectionsResponse : Response body for GET /connections
Fields§
§connections: Vec<ConnectionInfo>Implementations§
Source§impl ListConnectionsResponse
impl ListConnectionsResponse
Sourcepub fn new(connections: Vec<ConnectionInfo>) -> ListConnectionsResponse
pub fn new(connections: Vec<ConnectionInfo>) -> ListConnectionsResponse
Response body for GET /connections
Trait Implementations§
Source§impl Clone for ListConnectionsResponse
impl Clone for ListConnectionsResponse
Source§fn clone(&self) -> ListConnectionsResponse
fn clone(&self) -> ListConnectionsResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListConnectionsResponse
impl Debug for ListConnectionsResponse
Source§impl Default for ListConnectionsResponse
impl Default for ListConnectionsResponse
Source§fn default() -> ListConnectionsResponse
fn default() -> ListConnectionsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListConnectionsResponse
impl<'de> Deserialize<'de> for ListConnectionsResponse
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 ListConnectionsResponse
impl PartialEq for ListConnectionsResponse
Source§fn eq(&self, other: &ListConnectionsResponse) -> bool
fn eq(&self, other: &ListConnectionsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ListConnectionsResponse
impl Serialize for ListConnectionsResponse
impl StructuralPartialEq for ListConnectionsResponse
Auto Trait Implementations§
impl Freeze for ListConnectionsResponse
impl RefUnwindSafe for ListConnectionsResponse
impl Send for ListConnectionsResponse
impl Sync for ListConnectionsResponse
impl Unpin for ListConnectionsResponse
impl UnsafeUnpin for ListConnectionsResponse
impl UnwindSafe for ListConnectionsResponse
Blanket Implementations§
impl<T> Allocation for T
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